Skip to content

Commit

Permalink
Add isDraft to Dream schema
Browse files Browse the repository at this point in the history
  • Loading branch information
bombies committed Nov 11, 2023
1 parent d228114 commit d1a9141
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
-- AlterTable
ALTER TABLE "Dream" ADD COLUMN "isDraft" BOOLEAN;
1 change: 1 addition & 0 deletions prisma/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ model Dream {
comments String? @db.VarChar(1000)
tags DreamTag[]
characters DreamCharacter[]
isDraft Boolean?
user Member @relation(fields: [userId], references: [id], onDelete: Cascade)
userId String
Expand Down

0 comments on commit d1a9141

Please sign in to comment.