Refactor and add NSFW boolean
This commit is contained in:
@ -0,0 +1,2 @@
|
||||
-- AlterTable
|
||||
ALTER TABLE "Image" ADD COLUMN "nsfw" BOOLEAN NOT NULL DEFAULT false;
|
@ -112,6 +112,7 @@ model Image {
|
||||
imageName String
|
||||
originalFile String
|
||||
uploadDate DateTime @default(now())
|
||||
nsfw Boolean @default(false)
|
||||
|
||||
altText String?
|
||||
description String?
|
||||
|
Reference in New Issue
Block a user