renames
This commit is contained in:
15
prisma/migrations/20240325214807_misc_renames/migration.sql
Normal file
15
prisma/migrations/20240325214807_misc_renames/migration.sql
Normal file
@ -0,0 +1,15 @@
|
||||
/*
|
||||
Warnings:
|
||||
|
||||
- You are about to drop the column `isTentative` on the `Assignment` table. All the data in the column will be lost.
|
||||
|
||||
*/
|
||||
-- AlterTable
|
||||
ALTER TABLE `Assignment`
|
||||
ADD COLUMN `isBySystem` BOOLEAN NOT NULL DEFAULT false;
|
||||
UPDATE `Assignment` SET `isBySystem` = isTentative;
|
||||
|
||||
ALTER TABLE `Assignment` DROP COLUMN `isTentative`,
|
||||
|
||||
-- AlterTable
|
||||
ALTER TABLE `Report` ADD COLUMN `type` ENUM('ServiceReport', 'Experience', 'Feedback_Problem', 'Feedback_Suggestion', 'Feedback') NOT NULL DEFAULT 'ServiceReport';
|
Reference in New Issue
Block a user