<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-2.0.xsd">
<include file="my_migration_script.sql" relativeToChangelogFile="true"/>
</databaseChangeLog> <changeSet id="1" author="eric.fenderbosch"> <sql> <![CDATA[ create table click ( id bigserial primary key, ip inet not null, created_at timestamp default current_timestamp ); ]]> </sql> <rollback>drop table click</rollback> </changeSet><?xml version="1.0" encoding="UTF-8"?>
<databaseChangeLog
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">
<includeAll path="migrations"/>
</databaseChangeLog>mvn liquibase:status
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building post-delivery-tracking-service 0.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- liquibase-maven-plugin:2.0.5:status (default-cli) @ post-delivery-tracking-service ---
[INFO] ------------------------------------------------------------------------
[INFO] Executing on Database: jdbc:postgresql:test
INFO 7/22/13 9:41 AM:liquibase: Reading from databasechangelog
postgres@jdbc:postgresql:test is up to date
INFO 7/22/13 9:41 AM:liquibase: Successfully released change log lock
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4.038s
[INFO] Finished at: Mon Jul 22 09:41:24 EDT 2013
[INFO] Final Memory: 13M/145M
[INFO] ------------------------------------------------------------------------
--
You received this message because you are subscribed to the Google Groups "dropwizard-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dropwizard-us...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.