3 lines
207 B
MySQL
3 lines
207 B
MySQL
|
ALTER TABLE bs.workerProductivity ADD stateFk TINYINT UNSIGNED NULL;
|
||
|
ALTER TABLE bs.workerProductivity ADD CONSTRAINT workerProductivity_FK_1 FOREIGN KEY (stateFk) REFERENCES vn.state(id) ON UPDATE CASCADE;
|