update structure
This commit is contained in:
parent
56344ac301
commit
8c7f05785c
|
@ -1,2 +1,3 @@
|
||||||
UPDATE `salix`.`ACL` SET `accessType`='*' WHERE `id`='58';
|
UPDATE `salix`.`ACL` SET `accessType`='*' WHERE `id`='58';
|
||||||
UPDATE `salix`.`ACL` SET `accessType`='*' WHERE `id`='60';
|
UPDATE `salix`.`ACL` SET `accessType`='*' WHERE `id`='60';
|
||||||
|
INSERT INTO `salix`.`ACL` (`id`,`model`, `property`, `accessType`, `permission`, `principalType`, `principalId`)VALUES (92, 'Sale', 'moveToNewTicket', '*', 'ALLOW', 'ROLE', 'employee');
|
|
@ -19,6 +19,7 @@ BEGIN
|
||||||
SELECT max(dated) INTO vFromDated
|
SELECT max(dated) INTO vFromDated
|
||||||
FROM clientManaCache;
|
FROM clientManaCache;
|
||||||
|
|
||||||
|
REPLACE bs.workerMana (workerFk, amount)
|
||||||
SELECT worker, sum(mana) FROM
|
SELECT worker, sum(mana) FROM
|
||||||
(
|
(
|
||||||
SELECT s.quantity * sc.value as mana
|
SELECT s.quantity * sc.value as mana
|
||||||
|
|
Loading…
Reference in New Issue