Skip to content

Commit

Permalink
Increase Maximum Size of Valuesets (#85)
Browse files Browse the repository at this point in the history
* Valuesets Implementation

* Add Unit Tests

* Checkstyle

* Add new Unit Test

* Increase Column Size for Valueset Content
  • Loading branch information
f11h committed Jun 16, 2021
1 parent dbe26ea commit f358a73
Show file tree
Hide file tree
Showing 4 changed files with 133 additions and 120 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public class ValuesetEntity {
/**
* Signature of the TrustAnchor.
*/
@Column(name = "json", nullable = false, length = 10240)
@Column(name = "json", nullable = false, length = 1024000)
String json;

}
1 change: 1 addition & 0 deletions src/main/resources/db/changelog.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<include file="db/changelog/init-tables.xml"/>
<include file="db/changelog/create-audit-table.xml"/>
<include file="db/changelog/add-valueset-table.xml"/>
<include file="db/changelog/increase-column-size-for-valueset.xml"/>


</databaseChangeLog>
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<databaseChangeLog
xmlns="http://www.liquibase.org/xml/ns/dbchangelog"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog
http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-4.3.xsd"
objectQuotingStrategy="QUOTE_ONLY_RESERVED_WORDS">
<changeSet id="1623830062379-1" author="f11h">
<modifyDataType columnName="json" newDataType="VARCHAR(1024000)" tableName="valueset"/>
</changeSet>

</databaseChangeLog>
Loading

0 comments on commit f358a73

Please sign in to comment.