diff --git a/others/db_changes/masterChangelog.xml b/others/db_changes/masterChangelog.xml index 55444430fccda2d0e7e790539effa7e910b2fe39..3339eb7f2360928d1c7ef84b7570aee22667d0de 100644 --- a/others/db_changes/masterChangelog.xml +++ b/others/db_changes/masterChangelog.xml @@ -1,4 +1,4 @@ <?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_history.xml"/> </databaseChangeLog> \ No newline at end of file diff --git a/others/db_changes/struct/create_history.xml b/others/db_changes/struct/create_history.xml new file mode 100644 index 0000000000000000000000000000000000000000..28a2c38af682c4d9868e945ef0b3ccef95fd7051 --- /dev/null +++ b/others/db_changes/struct/create_history.xml @@ -0,0 +1,23 @@ +<?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="d.lechner" id="1528461798137-1"> + <createTable tableName="HISTORY"> + <column name="SUBJECT" type="VARCHAR(254)"/> + <column name="INFO" type="CLOB"/> + <column name="MEDIUM" type="INTEGER"/> + <column name="DIRECTION" type="CHAR(1)"/> + <column name="ENTRYDATE" type="TIMESTAMP"/> + <column name="HISTORYID" type="CHAR(36)"> + <constraints primaryKey="true" primaryKeyName="PK_HISTORY_HISTORYID"/> + </column> + <column name="USER_NEW" type="VARCHAR(50)"> + <constraints nullable="false"/> + </column> + <column name="USER_EDIT" type="VARCHAR(50)"/> + <column name="DATE_NEW" type="TIMESTAMP"> + <constraints nullable="false"/> + </column> + <column name="DATE_EDIT" type="TIMESTAMP"/> + </createTable> + </changeSet> +</databaseChangeLog> \ No newline at end of file