db: update user table rows

This commit is contained in:
Mahen 2026-02-13 19:33:03 +07:00
parent 3e87f8566f
commit 0852fd37a8
2 changed files with 12 additions and 3 deletions

View File

@ -0,0 +1,12 @@
/*
Warnings:
- You are about to drop the column `birthDate` on the `User` table. All the data in the column will be lost.
- You are about to drop the column `gender` on the `User` table. All the data in the column will be lost.
- You are about to drop the column `location` on the `User` table. All the data in the column will be lost.
*/
-- AlterTable
ALTER TABLE "User" DROP COLUMN "birthDate",
DROP COLUMN "gender",
DROP COLUMN "location";

View File

@ -87,9 +87,6 @@ model User {
image String?
password String?
bio String? @db.Text
location String?
birthDate DateTime?
gender UserGender?
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt