diff --git a/server/prisma/migrations/20240821214449_classification_update/migration.sql b/server/prisma/migrations/20240821214449_classification_update/migration.sql index 5740882c2..beab9e38b 100644 --- a/server/prisma/migrations/20240821214449_classification_update/migration.sql +++ b/server/prisma/migrations/20240821214449_classification_update/migration.sql @@ -14,15 +14,3 @@ ALTER TABLE `classificationSystems` ADD COLUMN `categoryLabel` VARCHAR(191) NOT -- AlterTable ALTER TABLE `classifications` DROP COLUMN `grade`, ADD COLUMN `subCategory` TEXT NOT NULL; - --- AlterTable -ALTER TABLE `content` MODIFY `id` BINARY(16) NOT NULL DEFAULT (uuid_to_bin(uuid(), 1)); - --- AlterTable -ALTER TABLE `documentSubmittedResponses` MODIFY `id` BINARY(16) NOT NULL DEFAULT (uuid_to_bin(uuid(), 1)); - --- AlterTable -ALTER TABLE `documents` MODIFY `id` BINARY(16) NOT NULL DEFAULT (uuid_to_bin(uuid(), 1)); - --- AlterTable -ALTER TABLE `users` MODIFY `userId` BINARY(16) NOT NULL DEFAULT (uuid_to_bin(uuid(), 1)); diff --git a/server/prisma/migrations/20240824015008_classification_categories/migration.sql b/server/prisma/migrations/20240824015008_classification_categories/migration.sql index 9955a0028..cf82b708f 100644 --- a/server/prisma/migrations/20240824015008_classification_categories/migration.sql +++ b/server/prisma/migrations/20240824015008_classification_categories/migration.sql @@ -23,18 +23,6 @@ ALTER TABLE `classifications` DROP COLUMN `category`, DROP COLUMN `systemId`, ADD COLUMN `subCategoryId` INTEGER NOT NULL; --- AlterTable -ALTER TABLE `content` MODIFY `id` BINARY(16) NOT NULL DEFAULT (uuid_to_bin(uuid(), 1)); - --- AlterTable -ALTER TABLE `documentSubmittedResponses` MODIFY `id` BINARY(16) NOT NULL DEFAULT (uuid_to_bin(uuid(), 1)); - --- AlterTable -ALTER TABLE `documents` MODIFY `id` BINARY(16) NOT NULL DEFAULT (uuid_to_bin(uuid(), 1)); - --- AlterTable -ALTER TABLE `users` MODIFY `userId` BINARY(16) NOT NULL DEFAULT (uuid_to_bin(uuid(), 1)); - -- CreateTable CREATE TABLE `classificationCategories` ( `id` INTEGER NOT NULL AUTO_INCREMENT,