salix/db/versions/11114-goldenDracena/00-firstScript.sql

18 lines
422 B
MySQL
Raw Normal View History

-- Place your SQL code here
2024-06-21 11:38:00 +00:00
CREATE TABLE IF NOT EXISTS vn.travelKgPercentage (
value INT(3) PRIMARY KEY,
className VARCHAR(50)
);
2024-06-21 11:38:00 +00:00
INSERT IGNORE INTO vn.travelKgPercentage (value, className)
VALUES
(80, 'primary'),
(100, 'alert');
INSERT IGNORE INTO salix.ACL
SET model = 'TravelKgPercentage',
property = '*',
accessType = 'READ',
permission = 'ALLOW',
principalType = 'ROLE',
principalId = 'employee';