7152-devToTest_2414 #2228
|
@ -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 started date NOT NULL;
|
||||||
ALTER TABLE vn.specialPrice ADD ended date NULL;
|
ALTER TABLE vn.specialPrice ADD ended date NULL;
|
||||||
|
|
||||||
ALTER TABLE `specialPrice`
|
ALTER TABLE vn.`specialPrice`
|
||||||
ADD CONSTRAINT `check_date_range`
|
ADD CONSTRAINT `check_date_range`
|
||||||
CHECK (`ended` IS NULL OR `ended` >= `started`);
|
CHECK (`ended` IS NULL OR `ended` >= `started`);
|
||||||
|
|
Loading…
Reference in New Issue