All Downloads are FREE. Search and download functionalities are using the official Maven repository.

liquibase.1.2.0.2017-09-06-flat-model-entities.xml Maven / Gradle / Ivy

The newest version!
<!--

    JBoss, Home of Professional Open Source
    Copyright Red Hat, Inc., and individual contributors.

    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at

    	http://www.apache.org/licenses/LICENSE-2.0

    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.

-->
<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-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.3.xsd">
    <changeSet author="matzew (generated)" id="1504688114371-5">
        <createTable tableName="flat_push_message_info">
            <column name="id" type="VARCHAR(255)">
                <constraints nullable="false"/>
            </column>
            <column name="push_application_id" type="VARCHAR(255)">
                <constraints nullable="false"/>
            </column>
            <column name="raw_json_message" type="VARCHAR(4500)"/>
            <column name="ip_address" type="VARCHAR(255)"/>
            <column name="client_identifier" type="VARCHAR(255)"/>
            <column name="submit_date" type="datetime"/>
            <column name="app_open_counter" type="BIGINT"/>
            <column name="first_open_date" type="datetime"/>
            <column name="last_open_date" type="datetime"/>
        </createTable>
    </changeSet>
    <changeSet author="matzew (generated)" id="1504688114371-11">
        <createTable tableName="variant_error_status">
            <column name="push_message_variant_id" type="VARCHAR(255)">
                <constraints nullable="false"/>
            </column>
            <column name="error_reason" type="VARCHAR(255)"/>
            <column name="variant_id" type="VARCHAR(255)"/>
            <column name="push_job_id" type="VARCHAR(255)"/>
        </createTable>
    </changeSet>
    <changeSet author="matzew (generated)" id="1504688114371-16">
        <addPrimaryKey columnNames="id" constraintName="PRIMARY" tableName="flat_push_message_info"/>
    </changeSet>
    <changeSet author="matzew (generated)" id="1504688114371-22">
        <addPrimaryKey columnNames="push_message_variant_id" constraintName="PRIMARY" tableName="variant_error_status"/>
    </changeSet>
    <changeSet author="matzew (generated)" id="1504688114371-24">
        <addForeignKeyConstraint baseColumnNames="variant_id" baseTableName="variant_error_status"
                                 constraintName="FK1s1tg8hp9lg1xl1qjch7cdfck" deferrable="false"
                                 initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION"
                                 referencedColumnNames="id" referencedTableName="variant"/>
    </changeSet>
    <changeSet author="matzew (generated)" id="1504688114371-26">
        <addForeignKeyConstraint baseColumnNames="push_job_id" baseTableName="variant_error_status"
                                 constraintName="FKdmlblfx0dwdklc2xnjhp58hav" deferrable="false"
                                 initiallyDeferred="false" onDelete="NO ACTION" onUpdate="NO ACTION"
                                 referencedColumnNames="id" referencedTableName="flat_push_message_info"/>
    </changeSet>
    <changeSet author="matzew (generated)" id="1504688114371-35">
        <createIndex indexName="app_open_counter_idx" tableName="flat_push_message_info" unique="false">
            <column name="app_open_counter"/>
        </createIndex>
    </changeSet>
    <changeSet author="matzew (generated)" id="1504688114371-36">
        <createIndex indexName="push_application_id_idx" tableName="flat_push_message_info" unique="false">
            <column name="push_application_id"/>
        </createIndex>
    </changeSet>
    <changeSet author="matzew (generated)" id="1504688114371-37">
        <createIndex indexName="submit_date_idx" tableName="flat_push_message_info" unique="false">
            <column name="submit_date"/>
        </createIndex>
    </changeSet>
</databaseChangeLog>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy