fix: remove optional
This commit is contained in:
parent
268215ff5f
commit
ad454a94ef
2 changed files with 1 additions and 3 deletions
|
@ -1,2 +0,0 @@
|
||||||
-- AlterTable
|
|
||||||
ALTER TABLE "OAuth" ALTER COLUMN "oauthId" DROP NOT NULL;
|
|
|
@ -100,7 +100,7 @@ model OAuth {
|
||||||
user User @relation(fields: [userId], references: [id], onDelete: Cascade)
|
user User @relation(fields: [userId], references: [id], onDelete: Cascade)
|
||||||
userId Int
|
userId Int
|
||||||
username String
|
username String
|
||||||
oauthId String?
|
oauthId String
|
||||||
token String
|
token String
|
||||||
refresh String?
|
refresh String?
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue