Nueva tabla entryObservation y he juntado la consulta de 1260-navidad con 1260-holydays
This commit is contained in:
parent
e70b8a80e1
commit
a19064cb1b
|
@ -1 +1,2 @@
|
||||||
INSERT INTO salix.ACL (model, property, accessType, permission, principalType, principalId) VALUES ('Image', '*', 'WRITE', 'ALLOW', 'ROLE', 'employee')
|
INSERT INTO salix.ACL (model, property, accessType, permission, principalType, principalId) VALUES ('Image', '*', 'WRITE', 'ALLOW', 'ROLE', 'employee');
|
||||||
|
INSERT INTO `salix`.`ACL` (`model`, `property`, `accessType`, `permission`, `principalType`, `principalId`) VALUES ('PayDem', '*', 'READ', 'ALLOW', 'ROLE', 'employee');
|
|
@ -0,0 +1,11 @@
|
||||||
|
CREATE TABLE `vn`.`entryObservation` (
|
||||||
|
id int NOT NULL AUTO_INCREMENT,
|
||||||
|
entryFk int NOT NULL,
|
||||||
|
observationTypeFk TINYINT(3) UNSIGNED,
|
||||||
|
description TEXT,
|
||||||
|
PRIMARY KEY (id),
|
||||||
|
CONSTRAINT entry_id_entryFk
|
||||||
|
FOREIGN KEY (entryFk) REFERENCES entry(id),
|
||||||
|
CONSTRAINT observationType_id_observationTypeFk
|
||||||
|
FOREIGN KEY (observationTypeFk) REFERENCES observationType(id)
|
||||||
|
);
|
|
@ -1,2 +0,0 @@
|
||||||
INSERT INTO `salix`.`ACL` (`model`, `property`, `accessType`, `permission`, `principalType`, `principalId`)
|
|
||||||
VALUES ('PayDem', '*', 'READ', 'ALLOW', 'ROLE', 'employee');
|
|
Loading…
Reference in New Issue