Merge pull request '#6238 drop duplicate script' (!2644) from 6238-fix-duplicateRecords into dev
gitea/salix/pipeline/head There was a failure building this commit
Details
gitea/salix/pipeline/head There was a failure building this commit
Details
Reviewed-on: #2644 Reviewed-by: Alex Moreno <alexm@verdnatura.es>
This commit is contained in:
commit
4814151b15
|
@ -3,7 +3,7 @@ CREATE TABLE IF NOT EXISTS vn.travelKgPercentage (
|
||||||
className VARCHAR(50)
|
className VARCHAR(50)
|
||||||
);
|
);
|
||||||
|
|
||||||
INSERT INTO vn.travelKgPercentage (value, className)
|
INSERT IGNORE INTO vn.travelKgPercentage (value, className)
|
||||||
VALUES
|
VALUES
|
||||||
(80, 'primary'),
|
(80, 'primary'),
|
||||||
(100, 'alert');
|
(100, 'alert');
|
||||||
|
|
|
@ -1,18 +0,0 @@
|
||||||
-- 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';
|
|
Loading…
Reference in New Issue