Skip to content

Commit

Permalink
Clean up migrations
Browse files Browse the repository at this point in the history
  • Loading branch information
cqnykamp committed Dec 7, 2024
1 parent 78ed67f commit d17637f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 24 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit d17637f

Please sign in to comment.