Skip to content
Snippets Groups Projects
Commit 50cd32f8 authored by Erika Chiara Pollinger's avatar Erika Chiara Pollinger
Browse files

added Liquibase changesets for PERS

parent 74ee3182
No related branches found
No related tags found
No related merge requests found
<?xml version="1.1" encoding="UTF-8" standalone="no"?>
<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.6.xsd">
<changeSet author="e.pollinger" id="efc45d88-a40d-49e0-a24c-afcb6095d1cb">
<insert tableName="PERS">
<column name="PERSID" value="efc45d88-a40d-49e0-a24c-afcb6095d1cb"/>
<column name="DATE_NEW" valueDate="2018-07-02T00:00:00"/>
<column name="DATEOFBIRTH" valueDate="1991-02-01"/>
<column name="USER_NEW" value="admin"/>
<column name="FIRSTNAME" value="Heribert"/>
<column name="MIDDLENAME" value="Anton"/>
<column name="LASTNAME" value="Untermeier"/>
<column name="GENDER" value="männlich"/>
<column name="SALUTATION" value="Herr"/>
</insert>
</changeSet>
</databaseChangeLog>
\ No newline at end of file
<?xml version="1.1" encoding="UTF-8" standalone="no"?>
<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.6.xsd">
<include file="struct/Create_Pers.xml"/>
<include file="data/PERS_data.xml"/>
</databaseChangeLog>
\ No newline at end of file
<?xml version="1.1" encoding="UTF-8" standalone="no"?>
<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.6.xsd">
<changeSet author="e.pollinger" id="06b5d1ac-08cf-4441-90a2-8cbc1438bfca">
<createTable tableName="PERS">
<column name="PERSID" type="CHAR(36)">
<constraints primaryKey="true" primaryKeyName="PK_PERS_PERSID"/>
</column>
<column name="DATE_EDIT" type="TIMESTAMP"/>
<column name="DATE_NEW" type="TIMESTAMP"/>
<column name="DATEOFBIRTH" type="DATE"/>
<column name="USER_EDIT" type="VARCHAR(50)"/>
<column name="USER_NEW" type="VARCHAR(50)"/>
<column name="FIRSTNAME" type="VARCHAR(50)"/>
<column name="MIDDLENAME" type="VARCHAR(50)"/>
<column name="LASTNAME" type="VARChAR(50)"/>
<column name="GENDER" type="VARCHAR(50)"/>
<column name="SALUTATION" type="VARCHAR(16)"/>
<column name="TITLE" type="VARCHAR(50)"/>
<column name="TITLESUFFIX" type="VARCHAR(50)"/>
</createTable>
<createIndex indexName="IDX_PERS" tableName="PERS">
<column name="FIRSTNAME"/>
<column name="LASTNAME"/>
</createIndex>
</changeSet>
</databaseChangeLog>
\ No newline at end of file
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment