salix/services/db/install/changes/1.0.3/05-workerMana.sql

10 lines
254 B
MySQL
Raw Normal View History

2018-04-29 11:47:33 +00:00
USE `bs`;
CREATE
OR REPLACE ALGORITHM = UNDEFINED
DEFINER = `root`@`%`
SQL SECURITY DEFINER
VIEW `bs`.`workerMana` AS
SELECT
`m`.`Id_Trabajador` AS `workerFk`, `m`.`used` AS `amount`
FROM
`bs`.`mana_spellers` `m`;