Skip to content

Commit

Permalink
Added hidden field
Browse files Browse the repository at this point in the history
  • Loading branch information
hkirat committed Feb 4, 2024
1 parent 0e9ca56 commit d7dfe6e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions prisma/migrations/20240203231627_hidden/migration.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
-- AlterTable
ALTER TABLE "Content" ADD COLUMN "hidden" BOOLEAN NOT NULL DEFAULT false;
1 change: 1 addition & 0 deletions prisma/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ model Content {
id Int @id @default(autoincrement())
type String @default("folder")
title String
hidden Boolean @default(false)
description String?
thumbnail String?
parentId Int?
Expand Down

0 comments on commit d7dfe6e

Please sign in to comment.