ToS Editor

This commit is contained in:
2025-07-06 17:27:06 +02:00
parent af4c0dcdac
commit fe66ab76b2
21 changed files with 2702 additions and 38 deletions

View File

@ -0,0 +1,10 @@
-- CreateTable
CREATE TABLE "TermsOfService" (
"id" TEXT NOT NULL,
"createdAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP,
"updatedAt" TIMESTAMP(3) NOT NULL,
"version" SERIAL NOT NULL,
"markdown" TEXT NOT NULL,
CONSTRAINT "TermsOfService_pkey" PRIMARY KEY ("id")
);

View File

@ -91,3 +91,12 @@ model CommissionTypeExtra {
@@unique([typeId, extraId])
}
model TermsOfService {
id String @id @default(cuid())
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
version Int @default(autoincrement())
markdown String
}