Alter Maintenance-Screen hinzugefügt
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
/*
|
||||
Warnings:
|
||||
|
||||
- You are about to drop the column `active` on the `Notam` table. All the data in the column will be lost.
|
||||
- You are about to drop the column `showUntil` on the `Notam` table. All the data in the column will be lost.
|
||||
- You are about to drop the column `updatedAt` on the `Notam` table. All the data in the column will be lost.
|
||||
- You are about to drop the column `wartungsmodus` on the `Notam` table. All the data in the column will be lost.
|
||||
|
||||
*/
|
||||
-- AlterTable
|
||||
ALTER TABLE "Notam" DROP COLUMN "active",
|
||||
DROP COLUMN "showUntil",
|
||||
DROP COLUMN "updatedAt",
|
||||
DROP COLUMN "wartungsmodus",
|
||||
ADD COLUMN "maintenanceEnabled" BOOLEAN NOT NULL DEFAULT false,
|
||||
ALTER COLUMN "color" DROP NOT NULL,
|
||||
ALTER COLUMN "message" SET DEFAULT '';
|
||||
@@ -0,0 +1,8 @@
|
||||
/*
|
||||
Warnings:
|
||||
|
||||
- You are about to drop the column `showUntilActive` on the `Notam` table. All the data in the column will be lost.
|
||||
|
||||
*/
|
||||
-- AlterTable
|
||||
ALTER TABLE "Notam" DROP COLUMN "showUntilActive";
|
||||
Reference in New Issue
Block a user