Playing with Queries, and Playground

This commit is contained in:
2022-09-08 20:39:24 +02:00
parent 31e7aec64d
commit 2a70074382
8 changed files with 26 additions and 27 deletions

View File

@@ -0,0 +1,3 @@
-- AlterTable
ALTER TABLE "User" ADD COLUMN "password" TEXT,
ALTER COLUMN "time_joined" DROP NOT NULL;

View File

@@ -11,7 +11,8 @@ datasource db {
}
model User {
id String @id @default(uuid())
email String @unique
time_joined Int
id String @id @default(uuid())
email String @unique
password String?
time_joined Int?
}