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