feat: #7120 con esquema
gitea/salix/pipeline/pr-dev There was a failure building this commit Details

This commit is contained in:
Javi Gallego 2024-03-26 12:18:53 +01:00
parent c99de95b33
commit 9408b82874
1 changed files with 1 additions and 1 deletions

View File

@ -2,6 +2,6 @@ ALTER TABLE vn.specialPrice MODIFY COLUMN clientFk int(11) DEFAULT 0 NULL;
ALTER TABLE vn.specialPrice ADD started date NOT NULL;
ALTER TABLE vn.specialPrice ADD ended date NULL;
ALTER TABLE `specialPrice`
ALTER TABLE vn.`specialPrice`
ADD CONSTRAINT `check_date_range`
CHECK (`ended` IS NULL OR `ended` >= `started`);