3 lines
204 B
MySQL
3 lines
204 B
MySQL
|
ALTER TABLE vn.greuge ADD userFK int(10) unsigned DEFAULT NULL NULL;
|
||
|
ALTER TABLE vn.greuge ADD CONSTRAINT greuge_FK FOREIGN KEY (userFK) REFERENCES account.`user`(id) ON DELETE CASCADE ON UPDATE CASCADE;
|