x
This commit is contained in:
1 parent
3965f4f4da
commit
70877882b0
82 files changed
+4353
-186
No files matched your search
@@ -0,0 +1,6 @@
|
||||
-- AlterTable
|
||||
ALTER TABLE "Menu" ADD COLUMN "rootImage" TEXT;
|
||||
|
||||
-- AlterTable
|
||||
ALTER TABLE "MenuItem" ADD COLUMN "columnImage" TEXT,
|
||||
ADD COLUMN "hoverImage" TEXT;
|
||||
@@ -639,6 +639,7 @@ model Menu {
|
||||
id Int @id @default(autoincrement())
|
||||
name String @unique // e.g., "header", "footer"
|
||||
payload Json?
|
||||
rootImage String?
|
||||
isActive Boolean @default(true)
|
||||
items MenuItem[]
|
||||
createdAt DateTime @default(now())
|
||||
@@ -652,6 +653,8 @@ model MenuItem {
|
||||
label String
|
||||
url String
|
||||
order Int @default(0)
|
||||
columnImage String?
|
||||
hoverImage String?
|
||||
translations MenuItemTranslation[]
|
||||
createdAt DateTime @default(now())
|
||||
updatedAt DateTime @updatedAt
|
||||
|
||||
Reference in new issue
Block a user