feat: add custom widget flow workbench
This commit is contained in:
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
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -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
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
ALTER TABLE `custom_widget_v2_definition` ADD `extensions` text;--> statement-breakpoint
|
||||
ALTER TABLE `custom_widget_v2_definition` ADD `editor_layout` text;--> statement-breakpoint
|
||||
ALTER TABLE `custom_widget_v2_definition` ADD `workshop_origin` text;--> statement-breakpoint
|
||||
ALTER TABLE `custom_widget_v2_definition` ADD `previous_package` text;
|
||||
--> statement-breakpoint
|
||||
CREATE TABLE `custom_widget_content` (
|
||||
`item_id` text NOT NULL,
|
||||
`definition_id` text NOT NULL,
|
||||
`key` text NOT NULL,
|
||||
`name` text NOT NULL,
|
||||
`value` text NOT NULL,
|
||||
`revision` integer NOT NULL,
|
||||
`updated_at` integer DEFAULT (unixepoch()) NOT NULL,
|
||||
PRIMARY KEY(`item_id`, `definition_id`, `key`),
|
||||
FOREIGN KEY (`item_id`) REFERENCES `item`(`id`) ON UPDATE no action ON DELETE cascade,
|
||||
FOREIGN KEY (`definition_id`) REFERENCES `custom_widget_v2_definition`(`id`) ON UPDATE no action ON DELETE cascade
|
||||
);
|
||||
File diff suppressed because it is too large.
Load diff
@@ -337,6 +337,13 @@
|
||||
"when": 1788763848930,
|
||||
"tag": "0047_add_byte_unit_system",
|
||||
"breakpoints": true
|
||||
},
|
||||
{
|
||||
"idx": 48,
|
||||
"version": "6",
|
||||
"when": 1789219251298,
|
||||
"tag": "0048_custom_widget_workbench",
|
||||
"breakpoints": true
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in new issue
Block a user