|
@@ -1082,3 +1082,16 @@ INSERT INTO pc_workcategory VALUES ('20201206001', '20201206000', '普工', 1046
|
|
|
INSERT INTO pc_workcategory VALUES ('20201207001', '20201207000', '社会工作者', 1047, 1);
|
|
|
INSERT INTO pc_workcategory VALUES ('20201207002', '20201207000', '在校学生', 1048, 1);
|
|
|
INSERT INTO pc_workcategory VALUES ('20201207003', '20201207000', '志愿者', 1049, 1);
|
|
|
+
|
|
|
+-- 2024.5.9标签关系表外键索引
|
|
|
+delete from pc_label_company;
|
|
|
+alter table pc_label_company add constraint FK_Reference_30 foreign key (LabelID)
|
|
|
+ references pc_label (LabelID) on delete restrict on update restrict;
|
|
|
+
|
|
|
+delete from pc_label_jobuser;
|
|
|
+alter table pc_label_jobuser add constraint FK_Reference_29 foreign key (LabelID)
|
|
|
+ references pc_label (LabelID) on delete restrict on update restrict;
|
|
|
+
|
|
|
+delete from pc_label_post;
|
|
|
+alter table pc_label_post add constraint FK_Reference_31 foreign key (LabelID)
|
|
|
+ references pc_label (LabelID) on delete restrict on update restrict;
|