harden v2 custom widgets and workshop
This commit is contained in:
1 parent
e8a2c87c2d
commit
723b46926a
194 files changed
+44862
-1265
No files matched your search
@@ -0,0 +1,23 @@
|
||||
ALTER TABLE "custom_widget_definition" RENAME TO "custom_widget_v2_definition";--> statement-breakpoint
|
||||
ALTER TABLE "custom_widget_secret" RENAME TO "custom_widget_v2_secret";--> statement-breakpoint
|
||||
ALTER TABLE "legacy_custom_widget_definition" RENAME TO "custom_widget_definition";--> statement-breakpoint
|
||||
ALTER TABLE "legacy_custom_widget_secret" RENAME TO "custom_widget_secret";--> statement-breakpoint
|
||||
ALTER TABLE "custom_widget_v2_definition"
|
||||
RENAME CONSTRAINT "custom_widget_definition_creator_id_user_id_fk"
|
||||
TO "custom_widget_v2_definition_creator_id_user_id_fk";--> statement-breakpoint
|
||||
ALTER TABLE "custom_widget_v2_secret"
|
||||
RENAME CONSTRAINT "cw_secret_definition_id_fk"
|
||||
TO "custom_widget_v2_secret_definition_id_fk";--> statement-breakpoint
|
||||
ALTER TABLE "custom_widget_v2_secret"
|
||||
RENAME CONSTRAINT "custom_widget_secret_definition_id_source_id_kind_pk"
|
||||
TO "custom_widget_v2_secret_definition_id_source_id_kind_pk";--> statement-breakpoint
|
||||
ALTER TABLE "custom_widget_definition"
|
||||
RENAME CONSTRAINT "legacy_cw_definition_creator_id_user_id_fk"
|
||||
TO "custom_widget_definition_creator_id_user_id_fk";--> statement-breakpoint
|
||||
ALTER TABLE "custom_widget_secret"
|
||||
RENAME CONSTRAINT "legacy_cw_secret_definition_id_fk"
|
||||
TO "custom_widget_secret_definition_id_custom_widget_definition_id_fk";--> statement-breakpoint
|
||||
ALTER TABLE "custom_widget_secret"
|
||||
RENAME CONSTRAINT "legacy_custom_widget_secret_definition_id_kind_pk"
|
||||
TO "custom_widget_secret_definition_id_kind_pk";--> statement-breakpoint
|
||||
DELETE FROM "groupPermission" WHERE "permission" IN ('custom-widget-manage', 'custom-widget-secret-write');
|
||||
File diff suppressed because it is too large.
Load diff
@@ -78,6 +78,13 @@
|
||||
"when": 1784305412862,
|
||||
"tag": "0010_custom_widget_v2_reset",
|
||||
"breakpoints": true
|
||||
},
|
||||
{
|
||||
"idx": 11,
|
||||
"version": "7",
|
||||
"when": 1785225823345,
|
||||
"tag": "0011_custom_widget_v1_compatibility",
|
||||
"breakpoints": true
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in new issue
Block a user