summaryrefslogtreecommitdiffstats
path: root/wso2/wso2bpel-ext/wso2bpel-core/wso2bpel-mgr/src/main/resources/migrations.xml
diff options
context:
space:
mode:
Diffstat (limited to 'wso2/wso2bpel-ext/wso2bpel-core/wso2bpel-mgr/src/main/resources/migrations.xml')
-rw-r--r--wso2/wso2bpel-ext/wso2bpel-core/wso2bpel-mgr/src/main/resources/migrations.xml38
1 files changed, 38 insertions, 0 deletions
diff --git a/wso2/wso2bpel-ext/wso2bpel-core/wso2bpel-mgr/src/main/resources/migrations.xml b/wso2/wso2bpel-ext/wso2bpel-core/wso2bpel-mgr/src/main/resources/migrations.xml
new file mode 100644
index 0000000..1d07c9a
--- /dev/null
+++ b/wso2/wso2bpel-ext/wso2bpel-core/wso2bpel-mgr/src/main/resources/migrations.xml
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Copyright 2016 ZTE Corporation.
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
+
+<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-3.1.xsd">
+
+ <changeSet id="1" author="codahale">
+ <createTable tableName="book">
+ <column name="id" type="bigint" autoIncrement="true">
+ <constraints primaryKey="true" nullable="false"/>
+ </column>
+ <column name="name" type="varchar(255)">
+ <constraints nullable="false"/>
+ </column>
+ <column name="type" type="varchar(255)"/>
+ <column name="price" type="NUMERIC(20,2)"/>
+ </createTable>
+ </changeSet>
+</databaseChangeLog>