removed unnecessary "display width" db settings that were failing in postgres (#247) (#251)

This commit is contained in:
Tudor Malene 2017-12-22 09:55:33 +00:00 committed by GitHub
parent a2344f15fb
commit 83efd33fc7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 32 additions and 26 deletions

View File

@ -6,7 +6,7 @@
<changeSet author="tudormalene (generated)" id="1512743551377-1">
<createTable tableName="cash_states_v2">
<column name="output_index" type="INT(10)">
<column name="output_index" type="INT">
<constraints nullable="false"/>
</column>
<column name="transaction_id" type="NVARCHAR(64)">
@ -15,7 +15,7 @@
<column name="issuer_name" type="NVARCHAR(255)"/>
<column name="issuer_ref" type="VARBINARY(512)"/>
<column name="owner_name" type="NVARCHAR(255)"/>
<column name="quantity" type="BIGINT(19)"/>
<column name="quantity" type="BIGINT"/>
<column name="ccy_code" type="NVARCHAR(3)"/>
</createTable>

View File

@ -6,7 +6,7 @@
<changeSet author="tudormalene (generated)" id="1512743551377-2">
<createTable tableName="cash_states_v3">
<column name="output_index" type="INT(10)">
<column name="output_index" type="INT">
<constraints nullable="false"/>
</column>
<column name="transaction_id" type="NVARCHAR(64)">
@ -16,7 +16,7 @@
<column name="issuer_name" type="NVARCHAR(255)"/>
<column name="issuer_ref" type="VARBINARY(512)"/>
<column name="owner_name" type="NVARCHAR(255)"/>
<column name="pennies" type="BIGINT(19)"/>
<column name="pennies" type="BIGINT"/>
</createTable>
<addPrimaryKey columnNames="output_index, transaction_id" constraintName="CONSTRAINT_DC"

View File

@ -5,7 +5,7 @@
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog-ext http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-ext.xsd http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.5.xsd">
<changeSet author="tudormalene (generated)" id="1512743551377-4">
<createTable tableName="cp_states_v2">
<column name="output_index" type="INT(10)">
<column name="output_index" type="INT">
<constraints nullable="false"/>
</column>
<column name="transaction_id" type="NVARCHAR(64)">
@ -14,7 +14,7 @@
<column name="issuer_name" type="NVARCHAR(255)"/>
<column name="issuer_ref" type="VARBINARY(512)"/>
<column name="owner_name" type="NVARCHAR(255)"/>
<column name="quantity" type="BIGINT(19)"/>
<column name="quantity" type="BIGINT"/>
<column name="ccy_code" type="NVARCHAR(3)"/>
<column name="face_value_issuer_key_hash" type="NVARCHAR(130)"/>
<column name="face_value_issuer_ref" type="VARBINARY(512)"/>

View File

@ -6,6 +6,9 @@
<changeSet author="tudormalene (generated)" id="1513267683777-1.2" dbms="azure">
<createSequence sequenceName="hibernate_sequence" minValue="1"/>
</changeSet>
<changeSet author="tudormalene (generated)" id="1513267683777-1.2" dbms="postgres">
<createSequence sequenceName="hibernate_sequence" minValue="1"/>
</changeSet>
<changeSet author="tudormalene (generated)" id="1513267683777-1.1" dbms="h2">
<createSequence sequenceName="hibernate_sequence"/>
</changeSet>
@ -19,7 +22,7 @@
</changeSet>
<changeSet author="tudormalene (generated)" id="1513267683777-3">
<createTable tableName="CertificateSigningRequestEntity_modifiedBy_AUD">
<column name="REV" type="INT(10)">
<column name="REV" type="INT">
<constraints nullable="false"/>
</column>
<column name="CertificateSigningRequestEntity_request_id" type="NVARCHAR(64)">
@ -28,16 +31,16 @@
<column name="modified_by" type="NVARCHAR(512)">
<constraints nullable="false"/>
</column>
<column name="revtype" type="TINYINT(3)"/>
<column name="revtype" type="TINYINT"/>
</createTable>
</changeSet>
<changeSet author="tudormalene (generated)" id="1513267683777-4">
<createTable tableName="certificate_data">
<column name="ID" type="BIGINT(19)">
<column name="ID" type="BIGINT">
<constraints nullable="false"/>
</column>
<column name="certificate_path_bytes" type="BLOB"/>
<column name="certificate_status" type="INT(10)"/>
<column name="certificate_status" type="INT"/>
<column name="public_key_hash" type="NVARCHAR(64)"/>
<column name="certificate_signing_request" type="NVARCHAR(64)">
<constraints nullable="false"/>
@ -69,10 +72,10 @@
<column name="request_id" type="NVARCHAR(64)">
<constraints nullable="false"/>
</column>
<column name="rev" type="INT(10)">
<column name="rev" type="INT">
<constraints nullable="false"/>
</column>
<column name="revtype" type="TINYINT(3)"/>
<column name="revtype" type="TINYINT"/>
<column name="modified_at" type="TIMESTAMP"/>
<column name="remark" type="NVARCHAR(256)"/>
<column name="status" type="VARCHAR(255)"/>
@ -80,7 +83,7 @@
</changeSet>
<changeSet author="tudormalene (generated)" id="1513267683777-7">
<createTable tableName="network_map">
<column name="version" type="BIGINT(19)">
<column name="version" type="BIGINT">
<constraints nullable="false"/>
</column>
<column name="certificate" type="BLOB"/>
@ -90,7 +93,7 @@
</changeSet>
<changeSet author="tudormalene (generated)" id="1513267683777-8">
<createTable tableName="network_parameters">
<column name="version" type="BIGINT(19)">
<column name="version" type="BIGINT">
<constraints nullable="false"/>
</column>
<column name="bytes" type="BLOB"/>
@ -110,10 +113,10 @@
</changeSet>
<changeSet author="tudormalene (generated)" id="1513267683777-10">
<createTable tableName="REVINFO">
<column autoIncrement="true" name="rev" type="INT(10)">
<column autoIncrement="true" name="rev" type="INT">
<constraints primaryKey="true" primaryKeyName="CONSTRAINT_6"/>
</column>
<column name="revtstmp" type="BIGINT(19)"/>
<column name="revtstmp" type="BIGINT"/>
</createTable>
</changeSet>
<changeSet author="tudormalene (generated)" id="1513267683777-11">

View File

@ -13,6 +13,9 @@
<changeSet author="tudormalene (generated)" id="1511451595465-1.1" dbms="h2">
<createSequence sequenceName="hibernate_sequence"/>
</changeSet>
<changeSet author="tudormalene (generated)" id="1511451595465-1.3" dbms="postgresql">
<createSequence sequenceName="hibernate_sequence" minValue="1"/>
</changeSet>
<changeSet author="tudormalene (generated)" id="create state_participants table">
<createTable tableName="state_participants">

View File

@ -3,7 +3,7 @@
<changeSet author="tudormalene (generated)" id="1512743551377-11">
<createTable tableName="parents">
<column name="output_index" type="INT(10)">
<column name="output_index" type="INT">
<constraints nullable="false"/>
</column>
<column name="transaction_id" type="NVARCHAR(64)">
@ -16,10 +16,10 @@
<changeSet author="tudormalene (generated)" id="1512743551377-18">
<createTable tableName="children">
<column name="child_id" type="INT(10)">
<column name="child_id" type="INT">
<constraints nullable="false"/>
</column>
<column name="output_index" type="INT(10)"/>
<column name="output_index" type="INT"/>
<column name="transaction_id" type="NVARCHAR(64)"/>
</createTable>

View File

@ -6,7 +6,7 @@
<changeSet author="tudormalene (generated)" id="1512743551377-8">
<createTable tableName="dummy_deal_states">
<column name="output_index" type="INT(10)">
<column name="output_index" type="INT">
<constraints nullable="false"/>
</column>
<column name="transaction_id" type="NVARCHAR(64)">

View File

@ -4,15 +4,15 @@
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.5.xsd">
<changeSet author="tudormalene (generated)" id="1512743023716-7">
<createTable tableName="dummy_linear_states">
<column name="output_index" type="INT(10)">
<column name="output_index" type="INT">
<constraints nullable="false"/>
</column>
<column name="transaction_id" type="NVARCHAR(64)">
<constraints nullable="false"/>
</column>
<column name="external_id" type="NVARCHAR(255)"/>
<column name="linear_boolean" type="BOOLEAN(1)"/>
<column name="linear_number" type="BIGINT(19)"/>
<column name="linear_boolean" type="BOOLEAN"/>
<column name="linear_number" type="BIGINT"/>
<column name="linear_string" type="NVARCHAR(255)"/>
<column name="linear_timestamp" type="TIMESTAMP"/>
<column name="uuid" type="VARCHAR(255)">

View File

@ -5,7 +5,7 @@
<changeSet author="tudormalene (generated)" id="1512743023716-8">
<createTable tableName="dummy_linear_states_v2">
<column name="output_index" type="INT(10)">
<column name="output_index" type="INT">
<constraints nullable="false"/>
</column>
<column name="transaction_id" type="NVARCHAR(64)">
@ -15,8 +15,8 @@
<column name="uuid" type="VARCHAR(255)">
<constraints nullable="false"/>
</column>
<column name="linear_boolean" type="BOOLEAN(1)"/>
<column name="linear_number" type="BIGINT(19)"/>
<column name="linear_boolean" type="BOOLEAN"/>
<column name="linear_number" type="BIGINT"/>
<column name="linear_string" type="NVARCHAR(255)"/>
<column name="linear_timestamp" type="TIMESTAMP"/>
</createTable>