Compare commits

...

1 Commits

Author SHA1 Message Date
Swifty
f135a33b3a testing linting 2026-01-08 11:16:53 +01:00
2 changed files with 48 additions and 36 deletions

View File

@@ -0,0 +1,7 @@
-- CreateTable
CREATE TABLE "Testing" (
"id" TEXT NOT NULL,
"maxEmailsPerDay" INTEGER NOT NULL DEFAULT 3,
CONSTRAINT "Testing_pkey" PRIMARY KEY ("id")
);

View File

@@ -12,6 +12,11 @@ generator client {
partial_type_generator = "backend/data/partial_types.py" partial_type_generator = "backend/data/partial_types.py"
} }
model Testing {
id String @id // This should match the Supabase user ID
maxEmailsPerDay Int @default(3)
}
// User model to mirror Auth provider users // User model to mirror Auth provider users
model User { model User {
id String @id // This should match the Supabase user ID id String @id // This should match the Supabase user ID