This commit is contained in:
PxlLoewe
2025-07-06 00:36:48 -07:00
parent 2cdbab9f28
commit a9d20e018d
13 changed files with 72 additions and 19 deletions

View File

@@ -0,0 +1 @@
-- This is an empty migration.

View File

@@ -0,0 +1,20 @@
/*
Warnings:
- You are about to drop the `Notam` table. If the table is not empty, all the data it contains will be lost.
*/
-- DropTable
DROP TABLE "Notam";
-- CreateTable
CREATE TABLE "Config" (
"id" SERIAL NOT NULL,
"color" "GlobalColor",
"message" TEXT NOT NULL DEFAULT '',
"maintenanceEnabled" BOOLEAN NOT NULL DEFAULT false,
"disableHPG" BOOLEAN NOT NULL DEFAULT false,
"createdAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP,
CONSTRAINT "Config_pkey" PRIMARY KEY ("id")
);