Skip to content

Commit 7220404

Browse files
committed
fix(jdbc): change dictionary property value column type to nclob
Change the `v` column type from nvarchar(1000) to nclob to support larger property values. nclob is suitable here since dictionary property values are not indexed. https://gravitee.atlassian.net/browse/APIM-12355
1 parent 7971eb6 commit 7220404

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
databaseChangeLog:
2+
- changeSet:
3+
id: 4.9.5_01_change_dictionary_property_value_datatype
4+
author: GraviteeSource Team
5+
changes:
6+
- modifyDataType:
7+
tableName: ${gravitee_prefix}dictionary_property
8+
columnName: v
9+
newDataType: nclob

gravitee-apim-repository/gravitee-apim-repository-jdbc/src/main/resources/liquibase/master.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -287,3 +287,5 @@ databaseChangeLog:
287287
- file: liquibase/changelogs/v4_9_0/08_add_general_conditions_hrid_to_plan_table.yml
288288
- include:
289289
- file: liquibase/changelogs/v4_9_5/00_add_truststore_keystore_columns.yml
290+
- include:
291+
- file: liquibase/changelogs/v4_9_5/01_change_dictionary_property_value_datatype.yml

0 commit comments

Comments
 (0)