Merged in feature/IO-2866-Add-OP20-to-masterdata (pull request #1580)

IO-2866 Add OP20 to masterdata

Approved-by: Dave Richer
This commit is contained in:
Allan Carr
2024-08-07 14:36:59 +00:00
committed by Dave Richer
2 changed files with 16 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
-- Could not auto-generate a down migration.
-- Please write an appropriate down migration for the SQL below:
-- UPDATE "public"."masterdata"
-- SET value = jsonb_set(
-- value::jsonb,
-- '{OP20}',
-- '{"desc": "REMOVE AND REINSTALL", "opcode": "OP20", "partcode": "PAE"}'::jsonb,
-- true
-- );

View File

@@ -0,0 +1,7 @@
UPDATE "public"."masterdata"
SET value = jsonb_set(
value::jsonb,
'{OP20}',
'{"desc": "REMOVE AND REINSTALL", "opcode": "OP20", "partcode": "PAE"}'::jsonb,
true
);