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 COLUMN "extensions" text;--> statement-breakpoint
ALTER TABLE "custom_widget_v2_definition" ADD COLUMN "editor_layout" text;--> statement-breakpoint
ALTER TABLE "custom_widget_v2_definition" ADD COLUMN "workshop_origin" text;--> statement-breakpoint
ALTER TABLE "custom_widget_v2_definition" ADD COLUMN "previous_package" text;
--> 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" text NOT NULL,
"revision" integer NOT NULL,
"updated_at" timestamp DEFAULT now() NOT NULL,
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 "public"."item"("id") ON DELETE cascade ON UPDATE no action;--> statement-breakpoint
ALTER TABLE "custom_widget_content" ADD CONSTRAINT "custom_widget_content_definition_id_custom_widget_v2_definition_id_fk" FOREIGN KEY ("definition_id") REFERENCES "public"."custom_widget_v2_definition"("id") ON DELETE cascade ON UPDATE no action;
File diff suppressed because it is too large. Load diff
@@ -113,6 +113,13 @@
"when": 1788763848932,
"tag": "0015_add_byte_unit_system",
"breakpoints": true
},
{
"idx": 16,
"version": "7",
"when": 1789219251320,
"tag": "0016_custom_widget_workbench",
"breakpoints": true
}
]
}