-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add helpUsImprove field to the backend #615
Changes from 1 commit
f14adb1
25c9bd0
e7a8186
c3b8cbe
798d94c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -40,6 +40,7 @@ model Person { | |
updatedAt DateTime? @updatedAt @map("updated_at") @db.Timestamptz(6) | ||
// Receive marketing notifications | ||
newsletter Boolean? @default(false) | ||
helpUsImporve Boolean? @default(false) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Please fix the typo, as well as add helpUsImporve Boolean? @default(false) @map("help_us_improve") Then re-execute the Edit: Linter is failing due to missing field field in personMock. |
||
address String? @db.VarChar(100) | ||
birthday DateTime? @db.Timestamptz(6) | ||
emailConfirmed Boolean? @default(false) @map("email_confirmed") | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is a typo. Change to
helpUsImprove
We use snake_case for referencing a field via raw SQL query. Would you please add @Map("help_us_improve") at the end of this line.
Example: