File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 4141 "@editorjs/paragraph" : " ^2.9.0" ,
4242 "@editorjs/table" : " ^2.2.2" ,
4343 "@hookform/resolvers" : " ^3.1.1" ,
44- "@prisma/client" : " ^5.0.0 " ,
44+ "@prisma/client" : " ^4.16.2 " ,
4545 "@radix-ui/react-accessible-icon" : " ^1.0.3" ,
4646 "@radix-ui/react-alert-dialog" : " ^1.0.4" ,
4747 "@radix-ui/react-aspect-ratio" : " ^1.0.3" ,
126126 "prettier" : " ^2.8.8" ,
127127 "prettier-plugin-tailwindcss" : " ^0.3.0" ,
128128 "pretty-quick" : " ^3.1.3" ,
129- "prisma" : " ^5.0.0 "
129+ "prisma" : " ^4.16.2 "
130130 }
131131}
Original file line number Diff line number Diff line change @@ -27,6 +27,8 @@ model User {
2727 stripeSubscriptionId String ? @unique @map (name : " stripe_subscription_id " )
2828 stripePriceId String ? @map (name : " stripe_price_id " )
2929 stripeCurrentPeriodEnd DateTime ? @map (name : " stripe_current_period_end " )
30+
31+ @@map (name : " users " )
3032}
3133
3234model JournalEntry {
@@ -40,6 +42,7 @@ model JournalEntry {
4042 user User @relation (fields : [userId ] , references : [id ] )
4143
4244 @@unique ([userId , id ] )
45+ @@map (name : " journal_entries " )
4346}
4447
4548model Reminder {
@@ -52,6 +55,7 @@ model Reminder {
5255 user User @relation (fields : [userId ] , references : [id ] )
5356
5457 @@unique ([userId ] )
58+ @@map (" reminders " )
5559}
5660
5761enum ReminderType {
You can’t perform that action at this time.
0 commit comments