Remove outdate liquibase changesets
This commit is contained in:
		@@ -1,68 +0,0 @@
 | 
				
			|||||||
<?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-3.5.xsd">
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    <property name="now" value="now()" dbms="h2"/>
 | 
					 | 
				
			||||||
    
 | 
					 | 
				
			||||||
    <property name="now" value="current_timestamp" dbms="postgresql"/>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    <property name="floatType" value="float4" dbms="postgresql, h2"/>
 | 
					 | 
				
			||||||
    <property name="floatType" value="float" dbms="mysql, oracle, mssql"/>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    <!--
 | 
					 | 
				
			||||||
        Added the entity SepaMandate.
 | 
					 | 
				
			||||||
    -->
 | 
					 | 
				
			||||||
    <changeSet id="20190418073047-1" author="jhipster">
 | 
					 | 
				
			||||||
        <createTable tableName="sepa_mandate">
 | 
					 | 
				
			||||||
            <column name="id" type="bigint" autoIncrement="${autoIncrement}">
 | 
					 | 
				
			||||||
                <constraints primaryKey="true" nullable="false"/>
 | 
					 | 
				
			||||||
            </column>
 | 
					 | 
				
			||||||
            <column name="reference" type="varchar(40)">
 | 
					 | 
				
			||||||
                <constraints nullable="false" unique="true" uniqueConstraintName="ux_sepa_mandate_reference" />
 | 
					 | 
				
			||||||
            </column>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
            <column name="iban" type="varchar(34)">
 | 
					 | 
				
			||||||
                <constraints nullable="true" />
 | 
					 | 
				
			||||||
            </column>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
            <column name="bic" type="varchar(11)">
 | 
					 | 
				
			||||||
                <constraints nullable="true" />
 | 
					 | 
				
			||||||
            </column>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
            <column name="created" type="date">
 | 
					 | 
				
			||||||
                <constraints nullable="false" />
 | 
					 | 
				
			||||||
            </column>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
            <column name="valid_from" type="date">
 | 
					 | 
				
			||||||
                <constraints nullable="false" />
 | 
					 | 
				
			||||||
            </column>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
            <column name="valid_to" type="date">
 | 
					 | 
				
			||||||
                <constraints nullable="true" />
 | 
					 | 
				
			||||||
            </column>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
            <column name="last_used" type="date">
 | 
					 | 
				
			||||||
                <constraints nullable="true" />
 | 
					 | 
				
			||||||
            </column>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
            <column name="cancelled" type="date">
 | 
					 | 
				
			||||||
                <constraints nullable="true" />
 | 
					 | 
				
			||||||
            </column>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
            <column name="jhi_comment" type="varchar(160)">
 | 
					 | 
				
			||||||
                <constraints nullable="true" />
 | 
					 | 
				
			||||||
            </column>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
            <column name="customer_id" type="bigint">
 | 
					 | 
				
			||||||
                <constraints nullable="false" />
 | 
					 | 
				
			||||||
            </column>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
            <!-- jhipster-needle-liquibase-add-column - JHipster will add columns here, do not remove-->
 | 
					 | 
				
			||||||
        </createTable>
 | 
					 | 
				
			||||||
        
 | 
					 | 
				
			||||||
    </changeSet>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    <!-- jhipster-needle-liquibase-add-changeset - JHipster will add changesets here, do not remove-->
 | 
					 | 
				
			||||||
</databaseChangeLog>
 | 
					 | 
				
			||||||
@@ -1,18 +0,0 @@
 | 
				
			|||||||
<?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-3.5.xsd">
 | 
					 | 
				
			||||||
    <!--
 | 
					 | 
				
			||||||
        Added the constraints for entity SepaMandate.
 | 
					 | 
				
			||||||
    -->
 | 
					 | 
				
			||||||
    <changeSet id="20190418073047-2" author="jhipster">
 | 
					 | 
				
			||||||
        
 | 
					 | 
				
			||||||
        <addForeignKeyConstraint baseColumnNames="customer_id"
 | 
					 | 
				
			||||||
                                 baseTableName="sepa_mandate"
 | 
					 | 
				
			||||||
                                 constraintName="fk_sepa_mandate_customer_id"
 | 
					 | 
				
			||||||
                                 referencedColumnNames="id"
 | 
					 | 
				
			||||||
                                 referencedTableName="customer"/>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    </changeSet>
 | 
					 | 
				
			||||||
</databaseChangeLog>
 | 
					 | 
				
			||||||
@@ -1,18 +0,0 @@
 | 
				
			|||||||
<?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-3.5.xsd">
 | 
					 | 
				
			||||||
    <!--
 | 
					 | 
				
			||||||
        Added the constraints for entity SepaMandate.
 | 
					 | 
				
			||||||
    -->
 | 
					 | 
				
			||||||
    <changeSet id="20190418100951-2" author="jhipster">
 | 
					 | 
				
			||||||
        
 | 
					 | 
				
			||||||
        <addForeignKeyConstraint baseColumnNames="customer_id"
 | 
					 | 
				
			||||||
                                 baseTableName="sepa_mandate"
 | 
					 | 
				
			||||||
                                 constraintName="fk_sepa_mandate_customer_id"
 | 
					 | 
				
			||||||
                                 referencedColumnNames="id"
 | 
					 | 
				
			||||||
                                 referencedTableName="customer"/>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    </changeSet>
 | 
					 | 
				
			||||||
</databaseChangeLog>
 | 
					 | 
				
			||||||
@@ -1,61 +0,0 @@
 | 
				
			|||||||
<?xml version="1.0" encoding="utf-8"?>
 | 
					 | 
				
			||||||
<databaseChangeLog
 | 
					 | 
				
			||||||
    xmlns="http://www.liquibase.org/xml/ns/dbchangelog"
 | 
					 | 
				
			||||||
    xmlns:ext="http://www.liquibase.org/xml/ns/dbchangelog-ext"
 | 
					 | 
				
			||||||
    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-3.5.xsd
 | 
					 | 
				
			||||||
                        http://www.liquibase.org/xml/ns/dbchangelog-ext http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-ext.xsd">
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    <property name="now" value="now()" dbms="h2"/>
 | 
					 | 
				
			||||||
    
 | 
					 | 
				
			||||||
    <property name="now" value="current_timestamp" dbms="postgresql"/>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    <property name="floatType" value="float4" dbms="postgresql, h2"/>
 | 
					 | 
				
			||||||
    <property name="floatType" value="float" dbms="mysql, oracle, mssql"/>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    <!--
 | 
					 | 
				
			||||||
        Added the entity Customer.
 | 
					 | 
				
			||||||
    -->
 | 
					 | 
				
			||||||
    <changeSet id="20190418143050-1" author="jhipster">
 | 
					 | 
				
			||||||
        <createTable tableName="customer">
 | 
					 | 
				
			||||||
            <column name="id" type="bigint" autoIncrement="${autoIncrement}">
 | 
					 | 
				
			||||||
                <constraints primaryKey="true" nullable="false"/>
 | 
					 | 
				
			||||||
            </column>
 | 
					 | 
				
			||||||
            <column name="reference" type="integer">
 | 
					 | 
				
			||||||
                <constraints nullable="false" unique="true" uniqueConstraintName="ux_customer_reference" />
 | 
					 | 
				
			||||||
            </column>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
            <column name="prefix" type="varchar(3)">
 | 
					 | 
				
			||||||
                <constraints nullable="false" unique="true" uniqueConstraintName="ux_customer_prefix" />
 | 
					 | 
				
			||||||
            </column>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
            <column name="name" type="varchar(80)">
 | 
					 | 
				
			||||||
                <constraints nullable="false" />
 | 
					 | 
				
			||||||
            </column>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
            <column name="contractual_salutation" type="varchar(80)">
 | 
					 | 
				
			||||||
                <constraints nullable="true" />
 | 
					 | 
				
			||||||
            </column>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
            <column name="contractual_address" type="varchar(400)">
 | 
					 | 
				
			||||||
                <constraints nullable="false" />
 | 
					 | 
				
			||||||
            </column>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
            <column name="billing_salutation" type="varchar(80)">
 | 
					 | 
				
			||||||
                <constraints nullable="true" />
 | 
					 | 
				
			||||||
            </column>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
            <column name="billing_address" type="varchar(400)">
 | 
					 | 
				
			||||||
                <constraints nullable="true" />
 | 
					 | 
				
			||||||
            </column>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
            <column name="remark" type="varchar(160)">
 | 
					 | 
				
			||||||
                <constraints nullable="true" />
 | 
					 | 
				
			||||||
            </column>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
            <!-- jhipster-needle-liquibase-add-column - JHipster will add columns here, do not remove-->
 | 
					 | 
				
			||||||
        </createTable>
 | 
					 | 
				
			||||||
        
 | 
					 | 
				
			||||||
    </changeSet>
 | 
					 | 
				
			||||||
    <!-- jhipster-needle-liquibase-add-changeset - JHipster will add changesets here, do not remove-->
 | 
					 | 
				
			||||||
</databaseChangeLog>
 | 
					 | 
				
			||||||
@@ -1,49 +0,0 @@
 | 
				
			|||||||
<?xml version="1.0" encoding="utf-8"?>
 | 
					 | 
				
			||||||
<databaseChangeLog
 | 
					 | 
				
			||||||
    xmlns="http://www.liquibase.org/xml/ns/dbchangelog"
 | 
					 | 
				
			||||||
    xmlns:ext="http://www.liquibase.org/xml/ns/dbchangelog-ext"
 | 
					 | 
				
			||||||
    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-3.5.xsd
 | 
					 | 
				
			||||||
                        http://www.liquibase.org/xml/ns/dbchangelog-ext http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-ext.xsd">
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    <property name="now" value="now()" dbms="h2"/>
 | 
					 | 
				
			||||||
    
 | 
					 | 
				
			||||||
    <property name="now" value="current_timestamp" dbms="postgresql"/>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    <property name="floatType" value="float4" dbms="postgresql, h2"/>
 | 
					 | 
				
			||||||
    <property name="floatType" value="float" dbms="mysql, oracle, mssql"/>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    <!--
 | 
					 | 
				
			||||||
        Added the entity Membership.
 | 
					 | 
				
			||||||
    -->
 | 
					 | 
				
			||||||
    <changeSet id="20190418143051-1" author="jhipster">
 | 
					 | 
				
			||||||
        <createTable tableName="membership">
 | 
					 | 
				
			||||||
            <column name="id" type="bigint" autoIncrement="${autoIncrement}">
 | 
					 | 
				
			||||||
                <constraints primaryKey="true" nullable="false"/>
 | 
					 | 
				
			||||||
            </column>
 | 
					 | 
				
			||||||
            <column name="document_date" type="date">
 | 
					 | 
				
			||||||
                <constraints nullable="false" />
 | 
					 | 
				
			||||||
            </column>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
            <column name="member_from" type="date">
 | 
					 | 
				
			||||||
                <constraints nullable="false" />
 | 
					 | 
				
			||||||
            </column>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
            <column name="member_until" type="date">
 | 
					 | 
				
			||||||
                <constraints nullable="true" />
 | 
					 | 
				
			||||||
            </column>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
            <column name="remark" type="varchar(160)">
 | 
					 | 
				
			||||||
                <constraints nullable="true" />
 | 
					 | 
				
			||||||
            </column>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
            <column name="customer_id" type="bigint">
 | 
					 | 
				
			||||||
                <constraints nullable="false" />
 | 
					 | 
				
			||||||
            </column>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
            <!-- jhipster-needle-liquibase-add-column - JHipster will add columns here, do not remove-->
 | 
					 | 
				
			||||||
        </createTable>
 | 
					 | 
				
			||||||
        
 | 
					 | 
				
			||||||
    </changeSet>
 | 
					 | 
				
			||||||
    <!-- jhipster-needle-liquibase-add-changeset - JHipster will add changesets here, do not remove-->
 | 
					 | 
				
			||||||
</databaseChangeLog>
 | 
					 | 
				
			||||||
@@ -1,18 +0,0 @@
 | 
				
			|||||||
<?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-3.5.xsd">
 | 
					 | 
				
			||||||
    <!--
 | 
					 | 
				
			||||||
        Added the constraints for entity Membership.
 | 
					 | 
				
			||||||
    -->
 | 
					 | 
				
			||||||
    <changeSet id="20190418143051-2" author="jhipster">
 | 
					 | 
				
			||||||
        
 | 
					 | 
				
			||||||
        <addForeignKeyConstraint baseColumnNames="customer_id"
 | 
					 | 
				
			||||||
                                 baseTableName="membership"
 | 
					 | 
				
			||||||
                                 constraintName="fk_membership_customer_id"
 | 
					 | 
				
			||||||
                                 referencedColumnNames="id"
 | 
					 | 
				
			||||||
                                 referencedTableName="customer"/>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    </changeSet>
 | 
					 | 
				
			||||||
</databaseChangeLog>
 | 
					 | 
				
			||||||
@@ -1,53 +0,0 @@
 | 
				
			|||||||
<?xml version="1.0" encoding="utf-8"?>
 | 
					 | 
				
			||||||
<databaseChangeLog
 | 
					 | 
				
			||||||
    xmlns="http://www.liquibase.org/xml/ns/dbchangelog"
 | 
					 | 
				
			||||||
    xmlns:ext="http://www.liquibase.org/xml/ns/dbchangelog-ext"
 | 
					 | 
				
			||||||
    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-3.5.xsd
 | 
					 | 
				
			||||||
                        http://www.liquibase.org/xml/ns/dbchangelog-ext http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-ext.xsd">
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    <property name="now" value="now()" dbms="h2"/>
 | 
					 | 
				
			||||||
    
 | 
					 | 
				
			||||||
    <property name="now" value="current_timestamp" dbms="postgresql"/>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    <property name="floatType" value="float4" dbms="postgresql, h2"/>
 | 
					 | 
				
			||||||
    <property name="floatType" value="float" dbms="mysql, oracle, mssql"/>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    <!--
 | 
					 | 
				
			||||||
        Added the entity Share.
 | 
					 | 
				
			||||||
    -->
 | 
					 | 
				
			||||||
    <changeSet id="20190418143052-1" author="jhipster">
 | 
					 | 
				
			||||||
        <createTable tableName="share">
 | 
					 | 
				
			||||||
            <column name="id" type="bigint" autoIncrement="${autoIncrement}">
 | 
					 | 
				
			||||||
                <constraints primaryKey="true" nullable="false"/>
 | 
					 | 
				
			||||||
            </column>
 | 
					 | 
				
			||||||
            <column name="document_date" type="date">
 | 
					 | 
				
			||||||
                <constraints nullable="false" />
 | 
					 | 
				
			||||||
            </column>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
            <column name="value_date" type="date">
 | 
					 | 
				
			||||||
                <constraints nullable="false" />
 | 
					 | 
				
			||||||
            </column>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
            <column name="action" type="varchar(255)">
 | 
					 | 
				
			||||||
                <constraints nullable="false" />
 | 
					 | 
				
			||||||
            </column>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
            <column name="quantity" type="integer">
 | 
					 | 
				
			||||||
                <constraints nullable="false" />
 | 
					 | 
				
			||||||
            </column>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
            <column name="remark" type="varchar(160)">
 | 
					 | 
				
			||||||
                <constraints nullable="true" />
 | 
					 | 
				
			||||||
            </column>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
            <column name="membership_id" type="bigint">
 | 
					 | 
				
			||||||
                <constraints nullable="false" />
 | 
					 | 
				
			||||||
            </column>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
            <!-- jhipster-needle-liquibase-add-column - JHipster will add columns here, do not remove-->
 | 
					 | 
				
			||||||
        </createTable>
 | 
					 | 
				
			||||||
        
 | 
					 | 
				
			||||||
    </changeSet>
 | 
					 | 
				
			||||||
    <!-- jhipster-needle-liquibase-add-changeset - JHipster will add changesets here, do not remove-->
 | 
					 | 
				
			||||||
</databaseChangeLog>
 | 
					 | 
				
			||||||
@@ -1,18 +0,0 @@
 | 
				
			|||||||
<?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-3.5.xsd">
 | 
					 | 
				
			||||||
    <!--
 | 
					 | 
				
			||||||
        Added the constraints for entity Share.
 | 
					 | 
				
			||||||
    -->
 | 
					 | 
				
			||||||
    <changeSet id="20190418143052-2" author="jhipster">
 | 
					 | 
				
			||||||
        
 | 
					 | 
				
			||||||
        <addForeignKeyConstraint baseColumnNames="membership_id"
 | 
					 | 
				
			||||||
                                 baseTableName="share"
 | 
					 | 
				
			||||||
                                 constraintName="fk_share_membership_id"
 | 
					 | 
				
			||||||
                                 referencedColumnNames="id"
 | 
					 | 
				
			||||||
                                 referencedTableName="membership"/>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    </changeSet>
 | 
					 | 
				
			||||||
</databaseChangeLog>
 | 
					 | 
				
			||||||
@@ -1,53 +0,0 @@
 | 
				
			|||||||
<?xml version="1.0" encoding="utf-8"?>
 | 
					 | 
				
			||||||
<databaseChangeLog
 | 
					 | 
				
			||||||
    xmlns="http://www.liquibase.org/xml/ns/dbchangelog"
 | 
					 | 
				
			||||||
    xmlns:ext="http://www.liquibase.org/xml/ns/dbchangelog-ext"
 | 
					 | 
				
			||||||
    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-3.5.xsd
 | 
					 | 
				
			||||||
                        http://www.liquibase.org/xml/ns/dbchangelog-ext http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-ext.xsd">
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    <property name="now" value="now()" dbms="h2"/>
 | 
					 | 
				
			||||||
    
 | 
					 | 
				
			||||||
    <property name="now" value="current_timestamp" dbms="postgresql"/>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    <property name="floatType" value="float4" dbms="postgresql, h2"/>
 | 
					 | 
				
			||||||
    <property name="floatType" value="float" dbms="mysql, oracle, mssql"/>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    <!--
 | 
					 | 
				
			||||||
        Added the entity Asset.
 | 
					 | 
				
			||||||
    -->
 | 
					 | 
				
			||||||
    <changeSet id="20190418143053-1" author="jhipster">
 | 
					 | 
				
			||||||
        <createTable tableName="asset">
 | 
					 | 
				
			||||||
            <column name="id" type="bigint" autoIncrement="${autoIncrement}">
 | 
					 | 
				
			||||||
                <constraints primaryKey="true" nullable="false"/>
 | 
					 | 
				
			||||||
            </column>
 | 
					 | 
				
			||||||
            <column name="document_date" type="date">
 | 
					 | 
				
			||||||
                <constraints nullable="false" />
 | 
					 | 
				
			||||||
            </column>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
            <column name="value_date" type="date">
 | 
					 | 
				
			||||||
                <constraints nullable="false" />
 | 
					 | 
				
			||||||
            </column>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
            <column name="action" type="varchar(255)">
 | 
					 | 
				
			||||||
                <constraints nullable="false" />
 | 
					 | 
				
			||||||
            </column>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
            <column name="amount" type="decimal(10,2)">
 | 
					 | 
				
			||||||
                <constraints nullable="false" />
 | 
					 | 
				
			||||||
            </column>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
            <column name="remark" type="varchar(160)">
 | 
					 | 
				
			||||||
                <constraints nullable="true" />
 | 
					 | 
				
			||||||
            </column>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
            <column name="membership_id" type="bigint">
 | 
					 | 
				
			||||||
                <constraints nullable="false" />
 | 
					 | 
				
			||||||
            </column>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
            <!-- jhipster-needle-liquibase-add-column - JHipster will add columns here, do not remove-->
 | 
					 | 
				
			||||||
        </createTable>
 | 
					 | 
				
			||||||
        
 | 
					 | 
				
			||||||
    </changeSet>
 | 
					 | 
				
			||||||
    <!-- jhipster-needle-liquibase-add-changeset - JHipster will add changesets here, do not remove-->
 | 
					 | 
				
			||||||
</databaseChangeLog>
 | 
					 | 
				
			||||||
@@ -1,18 +0,0 @@
 | 
				
			|||||||
<?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-3.5.xsd">
 | 
					 | 
				
			||||||
    <!--
 | 
					 | 
				
			||||||
        Added the constraints for entity Asset.
 | 
					 | 
				
			||||||
    -->
 | 
					 | 
				
			||||||
    <changeSet id="20190418143053-2" author="jhipster">
 | 
					 | 
				
			||||||
        
 | 
					 | 
				
			||||||
        <addForeignKeyConstraint baseColumnNames="membership_id"
 | 
					 | 
				
			||||||
                                 baseTableName="asset"
 | 
					 | 
				
			||||||
                                 constraintName="fk_asset_membership_id"
 | 
					 | 
				
			||||||
                                 referencedColumnNames="id"
 | 
					 | 
				
			||||||
                                 referencedTableName="membership"/>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    </changeSet>
 | 
					 | 
				
			||||||
</databaseChangeLog>
 | 
					 | 
				
			||||||
@@ -1,69 +0,0 @@
 | 
				
			|||||||
<?xml version="1.0" encoding="utf-8"?>
 | 
					 | 
				
			||||||
<databaseChangeLog
 | 
					 | 
				
			||||||
    xmlns="http://www.liquibase.org/xml/ns/dbchangelog"
 | 
					 | 
				
			||||||
    xmlns:ext="http://www.liquibase.org/xml/ns/dbchangelog-ext"
 | 
					 | 
				
			||||||
    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-3.5.xsd
 | 
					 | 
				
			||||||
                        http://www.liquibase.org/xml/ns/dbchangelog-ext http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-ext.xsd">
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    <property name="now" value="now()" dbms="h2"/>
 | 
					 | 
				
			||||||
    
 | 
					 | 
				
			||||||
    <property name="now" value="current_timestamp" dbms="postgresql"/>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    <property name="floatType" value="float4" dbms="postgresql, h2"/>
 | 
					 | 
				
			||||||
    <property name="floatType" value="float" dbms="mysql, oracle, mssql"/>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    <!--
 | 
					 | 
				
			||||||
        Added the entity SepaMandate.
 | 
					 | 
				
			||||||
    -->
 | 
					 | 
				
			||||||
    <changeSet id="20190418143054-1" author="jhipster">
 | 
					 | 
				
			||||||
        <createTable tableName="sepa_mandate">
 | 
					 | 
				
			||||||
            <column name="id" type="bigint" autoIncrement="${autoIncrement}">
 | 
					 | 
				
			||||||
                <constraints primaryKey="true" nullable="false"/>
 | 
					 | 
				
			||||||
            </column>
 | 
					 | 
				
			||||||
            <column name="reference" type="varchar(40)">
 | 
					 | 
				
			||||||
                <constraints nullable="false" unique="true" uniqueConstraintName="ux_sepa_mandate_reference" />
 | 
					 | 
				
			||||||
            </column>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
            <column name="iban" type="varchar(34)">
 | 
					 | 
				
			||||||
                <constraints nullable="true" />
 | 
					 | 
				
			||||||
            </column>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
            <column name="bic" type="varchar(11)">
 | 
					 | 
				
			||||||
                <constraints nullable="true" />
 | 
					 | 
				
			||||||
            </column>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
            <column name="document_date" type="date">
 | 
					 | 
				
			||||||
                <constraints nullable="false" />
 | 
					 | 
				
			||||||
            </column>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
            <column name="valid_from" type="date">
 | 
					 | 
				
			||||||
                <constraints nullable="false" />
 | 
					 | 
				
			||||||
            </column>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
            <column name="valid_until" type="date">
 | 
					 | 
				
			||||||
                <constraints nullable="true" />
 | 
					 | 
				
			||||||
            </column>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
            <column name="last_used" type="date">
 | 
					 | 
				
			||||||
                <constraints nullable="true" />
 | 
					 | 
				
			||||||
            </column>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
            <column name="cancellation_date" type="date">
 | 
					 | 
				
			||||||
                <constraints nullable="true" />
 | 
					 | 
				
			||||||
            </column>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
            <column name="remark" type="varchar(160)">
 | 
					 | 
				
			||||||
                <constraints nullable="true" />
 | 
					 | 
				
			||||||
            </column>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
            <column name="customer_id" type="bigint">
 | 
					 | 
				
			||||||
                <constraints nullable="false" />
 | 
					 | 
				
			||||||
            </column>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
            <!-- jhipster-needle-liquibase-add-column - JHipster will add columns here, do not remove-->
 | 
					 | 
				
			||||||
        </createTable>
 | 
					 | 
				
			||||||
        
 | 
					 | 
				
			||||||
    </changeSet>
 | 
					 | 
				
			||||||
    <!-- jhipster-needle-liquibase-add-changeset - JHipster will add changesets here, do not remove-->
 | 
					 | 
				
			||||||
</databaseChangeLog>
 | 
					 | 
				
			||||||
@@ -1,18 +0,0 @@
 | 
				
			|||||||
<?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-3.5.xsd">
 | 
					 | 
				
			||||||
    <!--
 | 
					 | 
				
			||||||
        Added the constraints for entity SepaMandate.
 | 
					 | 
				
			||||||
    -->
 | 
					 | 
				
			||||||
    <changeSet id="20190418143054-2" author="jhipster">
 | 
					 | 
				
			||||||
        
 | 
					 | 
				
			||||||
        <addForeignKeyConstraint baseColumnNames="customer_id"
 | 
					 | 
				
			||||||
                                 baseTableName="sepa_mandate"
 | 
					 | 
				
			||||||
                                 constraintName="fk_sepa_mandate_customer_id"
 | 
					 | 
				
			||||||
                                 referencedColumnNames="id"
 | 
					 | 
				
			||||||
                                 referencedTableName="customer"/>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    </changeSet>
 | 
					 | 
				
			||||||
</databaseChangeLog>
 | 
					 | 
				
			||||||
		Reference in New Issue
	
	Block a user