Last change
on this file since 27 was
27,
checked in by fmguler, 14 years ago
|
Refs #3 - Ven.delete() is converted to the new format. Missing javadocs are entered.
|
File size:
1.8 KB
|
Line | |
---|
1 | <?xml version="1.0" encoding="UTF-8" standalone="no"?> |
---|
2 | <databaseChangeLog logicalFilePath="database-schema.xml" xmlns="http://www.liquibase.org/xml/ns/dbchangelog/1.9" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog/1.9 http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-1.9.xsd"> |
---|
3 | <changeSet author="fmguler" id="init"> |
---|
4 | </changeSet> |
---|
5 | <changeSet author="fmguler" id="0"> |
---|
6 | <tagDatabase tag="tag-init"/> |
---|
7 | </changeSet> |
---|
8 | <!-- TEST SCHEMA >> --> |
---|
9 | <changeSet author="fmguler" id="1"> |
---|
10 | <createTable schemaName="public" tableName="some_domain_object"> |
---|
11 | <column autoIncrement="true" name="id" type="serial"> |
---|
12 | <constraints nullable="false" primaryKey="true" primaryKeyName="some_domain_object_pkey"/> |
---|
13 | </column> |
---|
14 | <column name="name" type="VARCHAR(100)"/> |
---|
15 | <column name="description" type="TEXT(2147483647)"/> |
---|
16 | <column name="date" type="TIMESTAMP WITHOUT TIME ZONE"/> |
---|
17 | </createTable> |
---|
18 | </changeSet> |
---|
19 | <changeSet author="fmguler" id="2"> |
---|
20 | <tagDatabase tag="tag-single-table"/> |
---|
21 | </changeSet> |
---|
22 | <changeSet author="fmguler" id="3"> |
---|
23 | <insert schemaName="public" tableName="some_domain_object"> |
---|
24 | <column name="id" value="1"/> |
---|
25 | <column name="name" value="name1"/> |
---|
26 | <column name="description" value="desc1"/> |
---|
27 | <column name="date" value="2010-10-13"/> |
---|
28 | </insert> |
---|
29 | <rollback> |
---|
30 | delete from some_domain_object; |
---|
31 | </rollback> |
---|
32 | </changeSet> |
---|
33 | <changeSet author="fmguler" id="4"> |
---|
34 | <tagDatabase tag="tag-single-table-data"/> |
---|
35 | </changeSet> |
---|
36 | <!-- << TEST SCHEMA --> |
---|
37 | </databaseChangeLog> |
---|
Note: See
TracBrowser
for help on using the repository browser.