We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 579cc53 commit 593591eCopy full SHA for 593591e
2 files changed
prisma/migrations/20251016193811_birth_date_type_fix/migration.sql
@@ -0,0 +1,9 @@
1
+/*
2
+ Warnings:
3
+
4
+ - The `birth_date` column on the `Member` table would be dropped and recreated. This will lead to data loss if there is data in the column.
5
6
+*/
7
+-- AlterTable
8
+ALTER TABLE "Member" DROP COLUMN "birth_date",
9
+ADD COLUMN "birth_date" DATE;
prisma/schema.prisma
@@ -16,7 +16,7 @@ model Member {
16
id String @id @default(uuid())
17
name String
18
email String @unique
19
- birth_date String?
+ birth_date DateTime? @db.Date
20
phone String? // Single phone number
21
bio String?
22
profilePhoto String? // URL to profile photo
0 commit comments