forked from science-ation/science-ation
Altering tables projectdivisions, projectsubdivisions, and projectcategories, changing their primary keys from (year, id) to (conferences_id, id)
This commit is contained in:
parent
a7a7735347
commit
a3b72f7aa3
@ -1 +1 @@
|
|||||||
219
|
220
|
||||||
|
7
db/db.update.220.sql
Normal file
7
db/db.update.220.sql
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
ALTER TABLE `projectcategories` DROP PRIMARY KEY;
|
||||||
|
ALTER TABLE `projectcategories` ADD PRIMARY KEY (`id`, `conferences_id`);
|
||||||
|
ALTER TABLE `projectdivisions` DROP PRIMARY KEY;
|
||||||
|
ALTER TABLE `projectdivisions` ADD PRIMARY KEY (`id`, `conferences_id`);
|
||||||
|
ALTER TABLE `projectsubdivisions` DROP PRIMARY KEY;
|
||||||
|
ALTER TABLE `projectsubdivisions` ADD PRIMARY KEY (`id`, `conferences_id`);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user