Skip to content
Snippets Groups Projects
Commit 0a0e88fb authored by Johannes Hörmann's avatar Johannes Hörmann
Browse files

fix system liquibase & add tim admin as employee

parent 16976b0b
No related branches found
No related tags found
No related merge requests found
Showing with 118 additions and 29 deletions
......@@ -142,4 +142,6 @@
<include relativeToChangelogFile="true" file="change_Milestone_datatype_to_new_Keyword_logic_notDerby.xml" />
<include relativeToChangelogFile="true" file="change_Milestone_datatype_to_new_Keyword_logic_Derby.xml" />
<include relativeToChangelogFile="true" file="update_Milestone_to_new_Keyword.xml" />
<include relativeToChangelogFile="true" file="data/example_person/PERSON_admin.xml" context="example"/>
</databaseChangeLog>
<?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="j.hoermann" id="d750c022-e34c-4903-8146-bd89121c0214">
<insert tableName="PERSON">
<column name="PERSONID" value="b16282bd-254e-4569-a56e-675449821467"/>
<column name="FIRSTNAME" value="Tim"/>
<column name="MIDDLENAME"/>
<column name="LASTNAME" value="Admin"/>
<column name="SALUTATION" value="Herr"/>
<column name="DATEOFBIRTH" valueDate="1993-05-07"/>
<column name="USER_NEW" value="Admin"/>
<column name="DATE_NEW" valueComputed="current_datetime"/>
</insert>
<insert tableName="CONTACT">
<column name="RELATIONSHIP" valueNumeric="1"/>
<column name="LANGUAGE" value="deu"/>
<column name="PERSON_ID" value="b16282bd-254e-4569-a56e-675449821467"/>
<column name="CONTACTID" value="c7ddf982-0e58-4152-b82b-8f5673b0b729"/>
<column name="ORGANISATION_ID" value="b219b58a-f120-42d8-9a64-0b176501eac7"/>
<column name="STATUS" value="BSIC0rel-stat-actv-ae03-b6b04430e90b"/>
<column name="USER_NEW" value="Admin"/>
<column name="DATE_NEW" valueComputed="current_datetime"/>
</insert>
<insert tableName="COMMUNICATION">
<column name="COMMUNICATIONID" value="3ccc54d5-dfb0-4da9-a0a0-472025f65994"/>
<column name="CONTACT_ID" value="c7ddf982-0e58-4152-b82b-8f5673b0b729"/>
<column name="MEDIUM_ID" value="85ee16dd-c878-4463-be6a-324c25e76764"/>
<column name="ADDR" value="Admin@domain.local"/>
<column name="STANDARD" valueNumeric="1"/>
<column name="USER_NEW" value="Admin"/>
<column name="DATE_NEW" valueComputed="current_datetime"/>
</insert>
<rollback>
<delete tableName="CONTACT">
<where>CONTACTID = ?</where>
<whereParams>
<param value="c7ddf982-0e58-4152-b82b-8f5673b0b729" />
</whereParams>
</delete>
<delete tableName="COMMUNICATION">
<where>CONTACTID = ?</where>
<whereParams>
<param value="c7ddf982-0e58-4152-b82b-8f5673b0b729" />
</whereParams>
</delete>
<delete tableName="PERSON">
<where>PERSONID = ?</where>
<whereParams>
<param value="b16282bd-254e-4569-a56e-675449821467" />
</whereParams>
</delete>
<delete tableName="ADDRESS">
<where>CONTACT_ID = ?</where>
<whereParams>
<param value="c7ddf982-0e58-4152-b82b-8f5673b0b729" />
</whereParams>
</delete>
</rollback>
</changeSet>
</databaseChangeLog>
<?xml version="1.0" encoding="UTF-8"?>
<aliasConfig xmlns="http://www.adito.de/2018/ao/Model" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" VERSION="1.0.7" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/aliasConfig/1.0.7">
<aliasConfig xmlns="http://www.adito.de/2018/ao/Model" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" VERSION="1.1.0" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/aliasConfig/1.1.0">
<name>_____CONFIGURATION</name>
<serverId>default</serverId>
<definitionName>_____CONFIGURATION</definitionName>
......
<?xml version="1.0" encoding="UTF-8"?>
<sysDbVersion xmlns="http://www.adito.de/2018/ao/Model" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" VERSION="1.2.0" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/sysDbVersion/1.2.0">
<name>_____SYSTEM_SYSDB_VERSION</name>
<systemDbVersion>2.5.1</systemDbVersion>
<systemDbVersion>2.6.0</systemDbVersion>
</sysDbVersion>
<?xml version="1.0" encoding="UTF-8"?>
<aliasConfig xmlns="http://www.adito.de/2018/ao/Model" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" VERSION="1.0.7" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/aliasConfig/1.0.7">
<aliasConfig xmlns="http://www.adito.de/2018/ao/Model" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" VERSION="1.1.0" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/aliasConfig/1.1.0">
<name>f50ee138-12d9-420d-a4f9-9b8257e207e4</name>
<description>jdbc:derby://localhost:1527/basic_data</description>
<serverId>default</serverId>
......
......@@ -7,7 +7,7 @@
<column name="DATE_NEW" valueDate="2018-05-24T14:53:57.763"/>
<column name="KIND" valueNumeric="600"/>
<column name="NAME" value="_____SYSTEM_SYSDB_VERSION"/>
<column name="TITLE" value="2.5.1"/>
<column name="TITLE" value="2.6.0"/>
<column name="USER_EDIT" value="_____DESIGNERANONYM"/>
<column name="USER_NEW" value="_____DESIGNERANONYM"/>
<column name="XMLDATA" valueBlobFile="defaultBlob/_____system_sysdb_version.xml"/>
......
......@@ -10,6 +10,15 @@
<column name="PROPKEY" value="lastModified"/>
<column name="PROPVAL" value="1544193908535"/>
</insert>
<insert tableName="ASYS_USERS">
<column name="DATE_EDIT" valueDate="2018-12-07T15:45:08.535"/>
<column name="DATE_NEW" valueDate="2018-05-25T09:52:30.361"/>
<column name="GROUPID" value="BASIC"/>
<column name="ID" value="cdb34f95-e414-4807-bbdb-f369138ee49f"/>
<column name="NAME" value="_____USER_bcdfb521-c7d0-4ef1-8916-78e7d3232046"/>
<column name="PROPKEY" value="contactID"/>
<column name="PROPVAL" value="c7ddf982-0e58-4152-b82b-8f5673b0b729"/>
</insert>
<insert tableName="ASYS_USERS">
<column name="DATE_EDIT" valueDate="2018-12-07T15:45:08.535"/>
<column name="DATE_NEW" valueDate="2018-05-25T09:52:30.361"/>
......@@ -19,6 +28,15 @@
<column name="PROPKEY" value="name"/>
<column name="PROPVAL" value="_____USER_bcdfb521-c7d0-4ef1-8916-78e7d3232046"/>
</insert>
<insert tableName="ASYS_USERS">
<column name="DATE_EDIT" valueDate="2018-12-07T15:45:08.535"/>
<column name="DATE_NEW" valueDate="2018-05-25T09:52:30.361"/>
<column name="GROUPID" value="BASIC"/>
<column name="ID" value="c17c88f5-74e2-44a1-ae68-8130918b43d3"/>
<column name="NAME" value="_____USER_bcdfb521-c7d0-4ef1-8916-78e7d3232046"/>
<column name="PROPKEY" value="isActive"/>
<column name="PROPVAL" value="true"/>
</insert>
<insert tableName="ASYS_USERS">
<column name="DATE_EDIT" valueDate="2018-12-07T15:45:08.535"/>
<column name="DATE_NEW" valueDate="2018-05-25T09:52:30.361"/>
......@@ -28,6 +46,15 @@
<column name="PROPKEY" value="title"/>
<column name="PROPVAL" value="Admin"/>
</insert>
<insert tableName="ASYS_USERS">
<column name="DATE_EDIT" valueDate="2018-12-07T15:45:08.535"/>
<column name="DATE_NEW" valueDate="2018-05-25T09:52:30.361"/>
<column name="GROUPID" value="PERSONAL"/>
<column name="ID" value="93c88dff-a6b0-49ce-b7b4-e474b7ca7fb6"/>
<column name="NAME" value="_____USER_bcdfb521-c7d0-4ef1-8916-78e7d3232046"/>
<column name="PROPKEY" value="firstname"/>
<column name="PROPVAL" value="Tim"/>
</insert>
<insert tableName="ASYS_USERS">
<column name="DATE_EDIT" valueDate="2018-12-07T15:45:08.535"/>
<column name="DATE_NEW" valueDate="2018-05-25T09:52:30.361"/>
......@@ -35,7 +62,7 @@
<column name="ID" value="f63d0946-3960-43bb-9888-4c36d962f955"/>
<column name="NAME" value="_____USER_bcdfb521-c7d0-4ef1-8916-78e7d3232046"/>
<column name="PROPKEY" value="lastname"/>
<column name="PROPVAL" value="Administrator"/>
<column name="PROPVAL" value="Admin"/>
</insert>
<insert tableName="ASYS_USERS">
<column name="DATE_EDIT" valueDate="2018-12-07T15:45:08.535"/>
......
<?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_asys_aliasconfig.xml"/>
<include file="struct/create_asys_binaries.xml"/>
<include file="struct/create_asys_dashletconfigurations.xml"/>
<include file="struct/create_asys_dashlets.xml"/>
<include file="struct/create_asys_notifications.xml"/>
<include file="struct/create_asys_sequences.xml"/>
<include file="struct/create_asys_system.xml"/>
<include file="struct/create_asys_timer.xml"/>
<include file="struct/create_asys_users.xml"/>
<include file="struct/create_asys_calendarbackend.xml"/>
<include file="struct/create_asys_calendarlink.xml"/>
<include relativeToChangelogFile="true" file="struct/create_asys_aliasconfig.xml"/>
<include relativeToChangelogFile="true" file="struct/create_asys_binaries.xml"/>
<include relativeToChangelogFile="true" file="struct/create_asys_dashletconfigurations.xml"/>
<include relativeToChangelogFile="true" file="struct/create_asys_dashlets.xml"/>
<include relativeToChangelogFile="true" file="struct/create_asys_notifications.xml"/>
<include relativeToChangelogFile="true" file="struct/create_asys_sequences.xml"/>
<include relativeToChangelogFile="true" file="struct/create_asys_system.xml"/>
<include relativeToChangelogFile="true" file="struct/create_asys_timer.xml"/>
<include relativeToChangelogFile="true" file="struct/create_asys_users.xml"/>
<include relativeToChangelogFile="true" file="struct/create_asys_calendarbackend.xml"/>
<include relativeToChangelogFile="true" file="struct/create_asys_calendarlink.xml"/>
<include file="data/insert_asys_aliasconfig.xml"/>
<include file="data/insert_asys_system.xml"/>
<include file="data/insert_asys_users-admin.xml"/>
<include relativeToChangelogFile="true" file="data/insert_asys_aliasconfig.xml"/>
<include relativeToChangelogFile="true" file="data/insert_asys_system.xml"/>
<include relativeToChangelogFile="true" file="data/insert_asys_users-admin.xml"/>
</databaseChangeLog>
<?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="data/example_asys_users/Birgit_Leicht.xml"/>
<include file="data/example_asys_binaries/Birgit_Leicht_Image.xml"/>
<include file="data/example_asys_users/Harold_Smith.xml"/>
<include file="data/example_asys_binaries/Harold_Smith_Image.xml"/>
<include file="data/example_asys_users/Herbert_Obermeier.xml"/>
<include file="data/example_asys_binaries/Herbert_Obermeier_Image.xml"/>
<include file="data/example_asys_users/Lisa_Sommer.xml"/>
<include file="data/example_asys_binaries/Lisa_Sommer_Image.xml"/>
<include file="data/example_asys_users/Susanne_Lustig.xml"/>
<include file="data/example_asys_binaries/Susanne_Lustig_Image.xml"/>
<include relativeToChangelogFile="true" file="data/example_asys_users/Birgit_Leicht.xml"/>
<include relativeToChangelogFile="true" file="data/example_asys_binaries/Birgit_Leicht_Image.xml"/>
<include relativeToChangelogFile="true" file="data/example_asys_users/Harold_Smith.xml"/>
<include relativeToChangelogFile="true" file="data/example_asys_binaries/Harold_Smith_Image.xml"/>
<include relativeToChangelogFile="true" file="data/example_asys_users/Herbert_Obermeier.xml"/>
<include relativeToChangelogFile="true" file="data/example_asys_binaries/Herbert_Obermeier_Image.xml"/>
<include relativeToChangelogFile="true" file="data/example_asys_users/Lisa_Sommer.xml"/>
<include relativeToChangelogFile="true" file="data/example_asys_binaries/Lisa_Sommer_Image.xml"/>
<include relativeToChangelogFile="true" file="data/example_asys_users/Susanne_Lustig.xml"/>
<include relativeToChangelogFile="true" file="data/example_asys_binaries/Susanne_Lustig_Image.xml"/>
</databaseChangeLog>
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