salix/db/versions/.archive/10125-grayRose/00-firstScript.sql

46 lines
1.4 KiB
SQL

ALTER TABLE hedera.restPriv MODIFY COLUMN `role` int(10) unsigned NULL;
UPDATE hedera.restPriv
SET `role`=104
WHERE id=5;
UPDATE hedera.restPriv
SET `role`=5
WHERE id=7;
DELETE FROM hedera.restPriv
WHERE id=2;
DELETE FROM hedera.restPriv
WHERE id=6;
DELETE FROM hedera.restPriv
WHERE id=8;
INSERT INTO hedera.restPriv (methodPath)
VALUES ('core/captcha');
INSERT INTO hedera.restPriv (methodPath)
VALUES ('core/log');
INSERT INTO hedera.restPriv (methodPath)
VALUES ('core/login');
INSERT INTO hedera.restPriv (methodPath)
VALUES ('core/logout');
INSERT INTO hedera.restPriv (methodPath)
VALUES ('core/query');
INSERT INTO hedera.restPriv (methodPath)
VALUES ('core/recover-password');
INSERT INTO hedera.restPriv (methodPath)
VALUES ('core/restore-password');
INSERT INTO hedera.restPriv (methodPath,`role`)
VALUES ('dms/invoice',2);
INSERT INTO hedera.restPriv (methodPath)
VALUES ('image/thumb');
INSERT INTO hedera.restPriv (methodPath)
VALUES ('misc/concact');
INSERT INTO hedera.restPriv (methodPath)
VALUES ('misc/production');
INSERT INTO hedera.restPriv (methodPath)
VALUES ('tpv/confirm-post');
INSERT INTO hedera.restPriv (methodPath)
VALUES ('tpv/confirm-soap');
INSERT INTO hedera.restPriv (methodPath,`role`)
VALUES ('client/supplant',18);
UPDATE vn.`itemCategory` SET `display` = '0' WHERE `itemCategory`.`id` = 9;
DELETE FROM hedera.`menu` WHERE `menu`.`id` = 16