Enhance Service Messages by Config & activeUntil #9
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
/*
|
||||
Warnings:
|
||||
|
||||
- You are about to drop the column `isMainMsg` on the `Notam` table. All the data in the column will be lost.
|
||||
|
||||
*/
|
||||
-- AlterTable
|
||||
ALTER TABLE "Notam" DROP COLUMN "isMainMsg";
|
||||
@@ -0,0 +1,3 @@
|
||||
-- AlterTable
|
||||
ALTER TABLE "Notam" ADD COLUMN "disableHPG" BOOLEAN NOT NULL DEFAULT false,
|
||||
ADD COLUMN "wartungsmodus" BOOLEAN NOT NULL DEFAULT false;
|
||||
@@ -0,0 +1,2 @@
|
||||
-- AlterTable
|
||||
ALTER TABLE "Notam" ADD COLUMN "showUntilActive" BOOLEAN NOT NULL DEFAULT false;
|
||||
@@ -8,12 +8,14 @@ enum GlobalColor {
|
||||
}
|
||||
|
||||
model Notam {
|
||||
id Int @id @default(autoincrement())
|
||||
color GlobalColor
|
||||
message String
|
||||
showUntil DateTime
|
||||
isMainMsg Boolean
|
||||
active Boolean
|
||||
createdAt DateTime @default(now())
|
||||
updatedAt DateTime @updatedAt
|
||||
id Int @id @default(autoincrement())
|
||||
color GlobalColor
|
||||
message String
|
||||
showUntil DateTime
|
||||
showUntilActive Boolean @default(false)
|
||||
wartungsmodus Boolean @default(false)
|
||||
disableHPG Boolean @default(false)
|
||||
active Boolean
|
||||
createdAt DateTime @default(now())
|
||||
updatedAt DateTime @updatedAt
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user