fix: remove optional

This commit is contained in:
diced 2022-12-17 09:33:07 -08:00
parent 268215ff5f
commit ad454a94ef
No known key found for this signature in database
GPG key ID: 370BD1BA142842D1
2 changed files with 1 additions and 3 deletions

View file

@ -1,2 +0,0 @@
-- AlterTable
ALTER TABLE "OAuth" ALTER COLUMN "oauthId" DROP NOT NULL;

View file

@ -100,7 +100,7 @@ model OAuth {
user User @relation(fields: [userId], references: [id], onDelete: Cascade)
userId Int
username String
oauthId String?
oauthId String
token String
refresh String?