task-p.5.1
This commit is contained in:
11
drizzle/0006_lazy_shiver_man.sql
Normal file
11
drizzle/0006_lazy_shiver_man.sql
Normal file
@@ -0,0 +1,11 @@
|
||||
ALTER TABLE "crm_document_template_versions" ADD COLUMN "metadata_json" jsonb;
|
||||
--> statement-breakpoint
|
||||
UPDATE "crm_document_template_versions"
|
||||
SET
|
||||
"metadata_json" = COALESCE("metadata_json", "schema_json" -> '__templateManagement'),
|
||||
"schema_json" = CASE
|
||||
WHEN "schema_json" ? '__templateManagement'
|
||||
THEN "schema_json" - '__templateManagement'
|
||||
ELSE "schema_json"
|
||||
END
|
||||
WHERE "schema_json" ? '__templateManagement';
|
||||
5163
drizzle/meta/0006_snapshot.json
Normal file
5163
drizzle/meta/0006_snapshot.json
Normal file
File diff suppressed because it is too large
Load Diff
@@ -43,6 +43,13 @@
|
||||
"when": 1782464526434,
|
||||
"tag": "0005_furry_maelstrom",
|
||||
"breakpoints": true
|
||||
},
|
||||
{
|
||||
"idx": 6,
|
||||
"version": "7",
|
||||
"when": 1782749787685,
|
||||
"tag": "0006_lazy_shiver_man",
|
||||
"breakpoints": true
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user