7 lines
370 B
MySQL
7 lines
370 B
MySQL
|
ALTER TABLE vn.supplier
|
||
|
CHANGE companySize companySize enum('small','medium','big') CHARACTER SET utf8mb3
|
||
|
COLLATE utf8mb3_general_ci DEFAULT NULL NULL AFTER stamp,
|
||
|
ADD geoFk int(11) DEFAULT NULL NULL AFTER companySize,
|
||
|
ADD CONSTRAINT supplier_zoneGeo_FK FOREIGN KEY (geoFk)
|
||
|
REFERENCES vn.zoneGeo(id) ON DELETE RESTRICT ON UPDATE CASCADE;
|