diff --git a/db/db.code.version.txt b/db/db.code.version.txt index 037ba971..3d4c7bfe 100644 --- a/db/db.code.version.txt +++ b/db/db.code.version.txt @@ -1 +1 @@ -219 +220 diff --git a/db/db.update.220.sql b/db/db.update.220.sql new file mode 100644 index 00000000..13b73f55 --- /dev/null +++ b/db/db.update.220.sql @@ -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`); +