fix(sql): addClientObservationType
This commit is contained in:
parent
f61c2fa083
commit
a2b9a59eb5
|
@ -1,3 +1,2 @@
|
||||||
ALTER TABLE vn.clientObservation
|
ALTER TABLE vn.clientObservation ADD COLUMN IF NOT EXISTS observationTypeFk TINYINT(3) UNSIGNED NOT NULL;
|
||||||
ADD COLUMN IF NOT EXISTS observationTypeFk TINYINT(3) UNSIGNED NOT NULL,
|
ALTER TABLE vn.clientObservation ADD CONSTRAINT clientObservationTypeFk FOREIGN KEY IF NOT EXISTS (observationTypeFk) REFERENCES vn.observationType(id);
|
||||||
ADD CONSTRAINT clientObservationTypeFk FOREIGN KEY (observationTypeFk) REFERENCES vn.observationType(id);
|
|
||||||
|
|
Loading…
Reference in New Issue