MySql――外键约束

天剑外键约束的方法:alter table laser_upgrade_schedule add constraint fk_id_laser_upgrade_package foreign key (upgradeId) references laser_upgrade_package(id);

你可能感兴趣的:(references,foreign)