Skip to content

Commit 71d90e0

Browse files
committed
removed unused password field from schema
1 parent da55ddb commit 71d90e0

File tree

3 files changed

+10
-3
lines changed

3 files changed

+10
-3
lines changed

backend/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"license": "ISC",
1919
"packageManager": "pnpm@10.12.4",
2020
"dependencies": {
21-
"@prisma/client": "6.11.1",
21+
"@prisma/client": "6.14.0",
2222
"@types/express": "^5.0.3",
2323
"chess.js": "^1.4.0",
2424
"cookie-parser": "^1.4.7",
@@ -60,6 +60,6 @@
6060
"eslint-plugin-n": "^17.21.0",
6161
"eslint-plugin-promise": "^7.2.1",
6262
"globals": "^16.3.0",
63-
"prisma": "6.11.1"
63+
"prisma": "6.14.0"
6464
}
6565
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
/*
2+
Warnings:
3+
4+
- You are about to drop the column `password` on the `User` table. All the data in the column will be lost.
5+
6+
*/
7+
-- AlterTable
8+
ALTER TABLE "User" DROP COLUMN "password";

backend/prisma/schema.prisma

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ model User {
1414
email String @unique @db.VarChar(255)
1515
provider AuthProvider
1616
providerId String? @db.VarChar(100)
17-
password String? @db.VarChar(255)
1817
elo Int @default(1500)
1918
wins Int @default(0)
2019
losses Int @default(0)

0 commit comments

Comments
 (0)