feat: #7120 con esquema
gitea/salix/pipeline/pr-dev There was a failure building this commit
Details
gitea/salix/pipeline/pr-dev There was a failure building this commit
Details
This commit is contained in:
parent
c99de95b33
commit
9408b82874
|
@ -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`);
|
||||
|
|
Loading…
Reference in New Issue