Enhance tags
This commit is contained in:
5
prisma/migrations/20251220224429_artwork_4/migration.sql
Normal file
5
prisma/migrations/20251220224429_artwork_4/migration.sql
Normal file
@ -0,0 +1,5 @@
|
||||
-- AlterTable
|
||||
ALTER TABLE "ArtTag" ADD COLUMN "parentId" TEXT;
|
||||
|
||||
-- AddForeignKey
|
||||
ALTER TABLE "ArtTag" ADD CONSTRAINT "ArtTag_parentId_fkey" FOREIGN KEY ("parentId") REFERENCES "ArtTag"("id") ON DELETE SET NULL ON UPDATE CASCADE;
|
||||
Reference in New Issue
Block a user