salix/db/versions/11309-pinkGalax/00-firstScript.sql

33 lines
899 B
MySQL
Raw Normal View History

2024-10-18 05:55:37 +00:00
INSERT INTO salix.ACL (model,property,accessType,permission,principalType,principalId)
2024-10-22 08:38:18 +00:00
VALUES
('CompanyI18n','*','*','ALLOW','ROLE','employee'),
('ItemTypeI18n','*','*','ALLOW','ROLE','employee'),
('InkI18n','*','*','ALLOW','ROLE','employee'),
('OriginI18n','*','*','ALLOW','ROLE','employee'),
('StateI18n','*','*','ALLOW','ROLE','employee'),
('TagI18n','*','*','ALLOW','ROLE','employee'),
('itemCategoryI18n','*','*','ALLOW','ROLE','employee');
2024-10-28 10:52:56 +00:00
ALTER TABLE vn.companyI18n
ADD id INT AUTO_INCREMENT UNIQUE;
2024-10-22 08:38:18 +00:00
2024-10-28 10:52:56 +00:00
ALTER TABLE vn.inkI18n
ADD id INT AUTO_INCREMENT UNIQUE;
ALTER TABLE vn.itemCategoryI18n
ADD id INT AUTO_INCREMENT UNIQUE;
ALTER TABLE vn.itemTypeI18n
ADD id INT AUTO_INCREMENT UNIQUE;
ALTER TABLE vn.originI18n
ADD id INT AUTO_INCREMENT UNIQUE;
ALTER TABLE vn.stateI18n
ADD id INT AUTO_INCREMENT UNIQUE;
ALTER TABLE vn.tagI18n
ADD id INT AUTO_INCREMENT UNIQUE;