18 lines
422 B
SQL
18 lines
422 B
SQL
-- Place your SQL code here
|
|
CREATE TABLE IF NOT EXISTS vn.travelKgPercentage (
|
|
value INT(3) PRIMARY KEY,
|
|
className VARCHAR(50)
|
|
);
|
|
|
|
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'; |