diff --git a/prisma/migrations/20221217170526_oauth_id_optional/migration.sql b/prisma/migrations/20221217170526_oauth_id_optional/migration.sql deleted file mode 100644 index 2dfeb2b..0000000 --- a/prisma/migrations/20221217170526_oauth_id_optional/migration.sql +++ /dev/null @@ -1,2 +0,0 @@ --- AlterTable -ALTER TABLE "OAuth" ALTER COLUMN "oauthId" DROP NOT NULL; diff --git a/prisma/schema.prisma b/prisma/schema.prisma index 4dd807a..f4a4863 100644 --- a/prisma/schema.prisma +++ b/prisma/schema.prisma @@ -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?