16 lines
807 B
SQL
16 lines
807 B
SQL
/*
|
|
Warnings:
|
|
|
|
- You are about to drop the column `isWithTransport` on the `Availability` table. All the data in the column will be lost.
|
|
- The values [SpecialPioneer,Missionary,CircuitOverseer] on the enum `Publisher_type` will be removed. If these variants are still used in the database, this will fail.
|
|
|
|
*/
|
|
-- AlterTable
|
|
ALTER TABLE `Availability` DROP COLUMN `isWithTransport`,
|
|
ADD COLUMN `isWithTransportIn` BOOLEAN NOT NULL DEFAULT false,
|
|
ADD COLUMN `isWithTransportOut` BOOLEAN NOT NULL DEFAULT false,
|
|
MODIFY `type` ENUM('Weekly', 'Monthly', 'OneTime', 'PreviousAssignment', 'ReplacementOnly') NOT NULL DEFAULT 'Weekly';
|
|
|
|
-- AlterTable
|
|
ALTER TABLE `Publisher` MODIFY `type` ENUM('Publisher', 'Bethelite', 'RegularPioneer', 'SpecialPioneer_Missionary') NOT NULL DEFAULT 'Publisher';
|