This commit is contained in:
parent
c551e229fb
commit
acf308fd16
|
@ -1,3 +1,8 @@
|
|||
-- Place your SQL code here
|
||||
USE vn;
|
||||
INSERT INTO salix.ACL ( model, property, accessType, permission, principalType, principalId) VALUES('ItemShelvingLog', '*', 'READ', 'ALLOW', 'ROLE', 'production');
|
||||
INSERT INTO salix.ACL ( model, property, accessType, permission, principalType, principalId) VALUES('ItemShelvingLog', '*', 'READ', 'ALLOW', 'ROLE', 'production');
|
||||
|
||||
-- redmine regularitzar parking per a que no tinguen espais
|
||||
ALTER TABLE parking DROP CONSTRAINT chkParkingCodeFormat;
|
||||
ALTER TABLE parking
|
||||
ADD CONSTRAINT chkParkingCodeFormat CHECK (CHAR_LENGTH(code) > 4 AND code REGEXP ('^[^ ]+-[^ ]+$'));
|
Loading…
Reference in New Issue