feat: add custom widget flow workbench

This commit is contained in:
ajnart committed 2026-09-12 22:51:46 +02:00
1 parent c32a5317ca
commit a6bdbbb4ea
259 files changed
+23875 -1293

No files matched your search

@@ -0,0 +1,18 @@
ALTER TABLE `custom_widget_v2_definition` ADD `extensions` longtext;--> statement-breakpoint
ALTER TABLE `custom_widget_v2_definition` ADD `editor_layout` longtext;--> statement-breakpoint
ALTER TABLE `custom_widget_v2_definition` ADD `workshop_origin` longtext;--> statement-breakpoint
ALTER TABLE `custom_widget_v2_definition` ADD `previous_package` longtext;
--> statement-breakpoint
CREATE TABLE `custom_widget_content` (
`item_id` varchar(64) NOT NULL,
`definition_id` varchar(64) NOT NULL,
`key` varchar(64) NOT NULL,
`name` varchar(64) NOT NULL,
`value` longtext NOT NULL,
`revision` int NOT NULL,
`updated_at` timestamp NOT NULL DEFAULT (now()),
CONSTRAINT `custom_widget_content_item_id_definition_id_key_pk` PRIMARY KEY(`item_id`,`definition_id`,`key`)
);
--> statement-breakpoint
ALTER TABLE `custom_widget_content` ADD CONSTRAINT `custom_widget_content_item_id_item_id_fk` FOREIGN KEY (`item_id`) REFERENCES `item`(`id`) ON DELETE cascade ON UPDATE no action;--> statement-breakpoint
ALTER TABLE `custom_widget_content` ADD CONSTRAINT `custom_widget_content_definition_id_fk` FOREIGN KEY (`definition_id`) REFERENCES `custom_widget_v2_definition`(`id`) ON DELETE cascade ON UPDATE no action;
File diff suppressed because it is too large. Load diff
@@ -351,6 +351,13 @@
"when": 1788763848931,
"tag": "0049_add_byte_unit_system",
"breakpoints": true
},
{
"idx": 50,
"version": "5",
"when": 1789219251749,
"tag": "0050_custom_widget_workbench",
"breakpoints": true
}
]
}