Skip to content

Commit

Permalink
Add nullable name and migrations
Browse files Browse the repository at this point in the history
  • Loading branch information
gremble0 committed Oct 31, 2024
1 parent 6ff37da commit bfcd355
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 17 deletions.
15 changes: 0 additions & 15 deletions prisma/migrations/20241031081749_add_comment_model/migration.sql

This file was deleted.

4 changes: 2 additions & 2 deletions prisma/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ model Profile {
id Int @id @default(autoincrement())
userId Int @unique
user User @relation(fields: [userId], references: [id], onDelete: Cascade)
firstName String
lastName String
firstName String?
lastName String?
bio String?
githubUsername String?
username String?
Expand Down

0 comments on commit bfcd355

Please sign in to comment.