salix/db/versions/11030-salmonCyca/00-firstScript.sql

11 lines
293 B
MySQL
Raw Normal View History

2024-05-03 10:27:19 +00:00
-- Place your SQL code here
2024-05-07 12:59:23 +00:00
ALTER TABLE vn.absenceType ADD isFestiveEligible BOOL DEFAULT 1 NOT NULL COMMENT 'Para marcar un tipo de absence';
2024-05-08 06:48:19 +00:00
UPDATE vn.absenceType
2024-05-07 12:59:23 +00:00
SET isFestiveEligible = 0
WHERE code = 'holiday';
2024-05-03 10:27:19 +00:00
UPDATE vn.absenceType
2024-05-07 12:59:23 +00:00
SET isFestiveEligible=0
WHERE code = 'halfHoliday';