db: update user table rows
This commit is contained in:
parent
3e87f8566f
commit
0852fd37a8
|
|
@ -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";
|
||||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue