forked from darinpope/jenkins-example-liquibase
-
Notifications
You must be signed in to change notification settings - Fork 0
/
my_app-1.0.xml
41 lines (41 loc) · 1.92 KB
/
my_app-1.0.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<?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:pro="http://www.liquibase.org/xml/ns/pro"
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/pro
http://www.liquibase.org/xml/ns/pro/liquibase-pro-4.1.xsd
http://www.liquibase.org/xml/ns/dbchangelog
http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-4.1.xsd">
<changeSet author="Darin Pope" id="create-countries">
<createTable tableName="countries">
<column autoIncrement="true" name="id" type="INT">
<constraints nullable="false" primaryKey="true"/>
</column>
<column name="iso" type="VARCHAR(2)">
<constraints nullable="false"/>
</column>
<column name="iso3" type="VARCHAR(3)">
<constraints nullable="false"/>
</column>
<column name="iso_numeric" type="INT">
<constraints nullable="false"/>
</column>
<column name="country_name" type="VARCHAR(64)">
<constraints nullable="false"/>
</column>
<column name="capital" type="VARCHAR(64)">
<constraints nullable="false"/>
</column>
<column name="continent_code" type="VARCHAR(2)">
<constraints nullable="false"/>
</column>
<column name="currency_code" type="VARCHAR(3)">
<constraints nullable="false"/>
</column>
</createTable>
</changeSet>
</databaseChangeLog>