Add isParent boolean to tags
This commit is contained in:
2
prisma/migrations/20251221205656_artwork_7/migration.sql
Normal file
2
prisma/migrations/20251221205656_artwork_7/migration.sql
Normal file
@ -0,0 +1,2 @@
|
||||
-- AlterTable
|
||||
ALTER TABLE "ArtTag" ADD COLUMN "isParent" BOOLEAN NOT NULL DEFAULT false;
|
||||
@ -103,6 +103,7 @@ model ArtTag {
|
||||
|
||||
name String @unique
|
||||
slug String @unique
|
||||
isParent Boolean @default(false)
|
||||
showOnAnimalPage Boolean @default(false)
|
||||
|
||||
description String?
|
||||
|
||||
Reference in New Issue
Block a user