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;