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

jasmine.framework.test.config.liquibaseMaster.xml Maven / Gradle / Ivy

There is a newer version: 1.3.8
Show newest version
<?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">

    <changeSet id="jasmine_test_20211123223401" author="mh.z">
        <createTable tableName="test_data_change_log" remarks="测试数据变更日志">
            <column name="id" type="bigint" remarks="主键id">
                <constraints nullable="false" primaryKey="true" primaryKeyName="pk_test_data_change_log"/>
            </column>
            <column name="resource_path" type="varchar(500)" remarks="资源路径">
                <constraints nullable="false"/>
            </column>
            <column name="resource_name" type="varchar(100)" remarks="资源名">
                <constraints nullable="false"/>
            </column>
            <column name="record_id" type="bigint" remarks="记录id">
                <constraints nullable="false"/>
            </column>
            <column name="created_date" type="timestamp" remarks="创建日期" defaultValueComputed="CURRENT_TIMESTAMP">
                <constraints nullable="false"/>
            </column>
            <column name="last_updated_date" type="timestamp" remarks="最后更新日期" defaultValueComputed="CURRENT_TIMESTAMP">
                <constraints nullable="false"/>
            </column>
        </createTable>
    </changeSet>

    <!-- 测试数据 -->
    <include file="classpath:/test-data.xml" relativeToChangelogFile="false"/>

</databaseChangeLog>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy