refs #6882 fix sql

This commit is contained in:
Carlos Satorres 2024-05-07 14:59:23 +02:00
parent fe300f0f24
commit 3eba4a1f69
1 changed files with 7 additions and 6 deletions

View File

@ -1,9 +1,10 @@
-- Place your SQL code here
ALTER TABLE vn.absenceType ADD isFestive BOOL DEFAULT 1 NOT NULL COMMENT 'Para marcar un tipo de absence';
ALTER TABLE vn.absenceType ADD isFestiveEligible BOOL DEFAULT 1 NOT NULL COMMENT 'Para marcar un tipo de absence';
UPDATE absenceType
SET isFestiveEligible = 0
WHERE code = 'holiday';
UPDATE vn.absenceType
SET isFestive=0
WHERE id=1;
UPDATE vn.absenceType
SET isFestive=0
WHERE id=6;
SET isFestiveEligible=0
WHERE code = 'halfHoliday';