Liquibase POC
This commit is contained in:
13
src/main/resources/db/changelog.xml
Normal file
13
src/main/resources/db/changelog.xml
Normal file
@@ -0,0 +1,13 @@
|
||||
<?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"
|
||||
xsi:schemaLocation="
|
||||
http://www.liquibase.org/xml/ns/dbchangelog
|
||||
http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-4.3.xsd">
|
||||
|
||||
<changeSet id="1" author="Ponk">
|
||||
<sqlFile path="db/test-liquibase.sql"/>
|
||||
</changeSet>
|
||||
|
||||
</databaseChangeLog>
|
||||
4
src/main/resources/db/test-liquibase.sql
Normal file
4
src/main/resources/db/test-liquibase.sql
Normal file
@@ -0,0 +1,4 @@
|
||||
CREATE TABLE test_liquibase
|
||||
(
|
||||
id INT NOT NULL
|
||||
);
|
||||
Reference in New Issue
Block a user