16 lines
523 B
SQL
16 lines
523 B
SQL
/*
|
|
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';
|