Created
February 10, 2014 09:28
-
-
Save rschumm/8912881 to your computer and use it in GitHub Desktop.
DB udpate mit liquibase
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xmlns:ext="http://www.liquibase.org/xml/ns/dbchangelog-ext" | |
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.0.xsd | |
http://www.liquibase.org/xml/ns/dbchangelog-ext http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-ext.xsd"> | |
<include file="db/testdaten.sql" /> | |
</databaseChangeLog> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<plugin> | |
<groupId>org.liquibase</groupId> | |
<artifactId>liquibase-maven-plugin</artifactId> | |
<configuration> | |
<driver>org.h2.Driver</driver> | |
<url>${db.path}</url> | |
<username>root</username> | |
<password>1234</password> | |
<changeLogFile>db/changelog.xml</changeLogFile> | |
<dropFirst>false</dropFirst> | |
<promptOnNonLocalDatabase>false</promptOnNonLocalDatabase> | |
<outputFileEncoding>UTF-8</outputFileEncoding> | |
</configuration> | |
<executions> | |
<execution> | |
<phase>process-resources</phase> | |
<goals> | |
<goal>update</goal> | |
</goals> | |
</execution> | |
</executions> | |
</plugin> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
create table remy | |
( | |
baureihe int | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment