From 7ed01ef7cdb0bacbf8191054c7ef34fd205c3854 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Maximilian=20Schr=C3=B6ger?= <m.schroeger@adito.de>
Date: Tue, 9 Oct 2018 14:46:45 +0200
Subject: [PATCH] =?UTF-8?q?liquibase=20St=C3=BCckliste?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 others/db_changes/struct/create_prod2prod.xml | 24 +++++++++++++++++++
 1 file changed, 24 insertions(+)
 create mode 100644 others/db_changes/struct/create_prod2prod.xml

diff --git a/others/db_changes/struct/create_prod2prod.xml b/others/db_changes/struct/create_prod2prod.xml
new file mode 100644
index 0000000000..4868c9ccce
--- /dev/null
+++ b/others/db_changes/struct/create_prod2prod.xml
@@ -0,0 +1,24 @@
+<?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="m.schroeger" id="22a186c2-3eca-432e-b006-c179470b1732">
+	<createTable tableName="PROD2PROD">
+		<column name="PROD2PRODID" type="CHAR(36)">
+			<constraints primaryKey="true" primaryKeyName="PK_PRODUCT_PRODUCTID"/>
+		</column>
+
+		<column name="OPTIONAL" type="CHAR(1)"/>   
+                <column name="TAKEPRICE" type="CHAR(1)"/>        
+		<column name="QUANTITY" type="NUMERIC(14,2)"/>
+		<column name="SOURCE_ID" type="CHAR(36)"/>
+                <column name="DEST_ID" type="CHAR(36)"/>
+		<column name="DATE_EDIT" type="TIMESTAMP"/>
+                <column name="DATE_NEW" type="TIMESTAMP">
+                    <constraints nullable="false"/>
+                </column>
+		<column name="USER_EDIT" type="VARCHAR(50)"/>
+                <column name="USER_NEW" type="VARCHAR(50)">
+                    <constraints nullable="false"/>
+                </column>                                                         
+	</createTable>      
+</changeSet>
+</databaseChangeLog>
\ No newline at end of file
-- 
GitLab