Skip to content

Commit

Permalink
CORE-17431 Remove JSONB since the BYTEA can be indexed/converted if n…
Browse files Browse the repository at this point in the history
…eeded
  • Loading branch information
vlajos committed Oct 12, 2023
1 parent f28a500 commit 4b80d54
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -129,9 +129,6 @@
<column name="canonical_data" type="VARBINARY(1048576)">
<constraints nullable="false"/>
</column>
<column name="json_data" type="${json.column.type}">
<constraints nullable="false"/>
</column>
<column name="group_parameters_hash" type="VARCHAR(160)">
<constraints nullable="false"/>
</column>
Expand All @@ -154,7 +151,6 @@
SELECT
hash,
data as canonical_data,
convert_from(data, 'UTF-8')::jsonb AS json_data,
convert_from(data, 'UTF-8')::jsonb->'membershipGroupParametersHash' AS group_parameters_hash,
convert_from(data, 'UTF-8')::jsonb->'cpiMetadata'->'fileChecksum' AS cpi_file_checksum
FROM
Expand Down

0 comments on commit 4b80d54

Please sign in to comment.