fix: oauthId optional
This commit is contained in:
parent
4e70daa4d8
commit
268215ff5f
2 changed files with 3 additions and 1 deletions
|
@ -0,0 +1,2 @@
|
|||
-- 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)
|
||||
userId Int
|
||||
username String
|
||||
oauthId String
|
||||
oauthId String?
|
||||
token String
|
||||
refresh String?
|
||||
|
||||
|
|
Loading…
Reference in a new issue