Admin UI abtrennen + google settings in gui + UI enhancement

This commit is contained in:
2026-01-22 19:59:39 +01:00
parent e280e4eadb
commit 0b53e47d4b
29 changed files with 2365 additions and 303 deletions

View File

@@ -0,0 +1,12 @@
-- CreateTable
CREATE TABLE "AppSetting" (
"id" TEXT NOT NULL,
"key" TEXT NOT NULL,
"value" TEXT NOT NULL,
"updatedAt" TIMESTAMP(3) NOT NULL,
CONSTRAINT "AppSetting_pkey" PRIMARY KEY ("id")
);
-- CreateIndex
CREATE UNIQUE INDEX "AppSetting_key_key" ON "AppSetting"("key");

View File

@@ -41,6 +41,13 @@ enum RuleConditionType {
LIST_ID
}
enum ExportStatus {
QUEUED
RUNNING
DONE
FAILED
}
model Tenant {
id String @id @default(cuid())
name String
@@ -55,13 +62,6 @@ model Tenant {
jobs CleanupJob[]
}
enum ExportStatus {
QUEUED
RUNNING
DONE
FAILED
}
model ExportJob {
id String @id @default(cuid())
tenantId String
@@ -240,3 +240,10 @@ model CleanupJobEvent {
@@index([jobId])
}
model AppSetting {
id String @id @default(cuid())
key String @unique
value String
updatedAt DateTime @updatedAt
}