custom icons fully implemented for collections
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
/*
|
||||
Warnings:
|
||||
|
||||
- Made the column `color` on table `Collection` required. This step will fail if there are existing NULL values in that column.
|
||||
|
||||
*/
|
||||
-- AlterTable
|
||||
ALTER TABLE "Collection" ALTER COLUMN "color" SET NOT NULL,
|
||||
ALTER COLUMN "color" SET DEFAULT '#0ea5e9';
|
||||
@@ -96,7 +96,7 @@ model Collection {
|
||||
description String @default("")
|
||||
icon String?
|
||||
iconWeight String?
|
||||
color String?
|
||||
color String @default("#0ea5e9")
|
||||
parentId Int?
|
||||
parent Collection? @relation("SubCollections", fields: [parentId], references: [id])
|
||||
subCollections Collection[] @relation("SubCollections")
|
||||
|
||||
Reference in New Issue
Block a user