Add Liquibase migrations. App now boots successfully.
This commit is contained in:
6
src/main/resources/db/changelog/01-initial-schema.sql
Normal file
6
src/main/resources/db/changelog/01-initial-schema.sql
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
-- Liquibase formatted SQL
|
||||||
|
-- changeset dmigewant:1
|
||||||
|
CREATE TABLE example_table (
|
||||||
|
id SERIAL PRIMARY KEY,
|
||||||
|
name VARCHAR(255) NOT NULL
|
||||||
|
);
|
4
src/main/resources/db/changelog/db.changelog-master.yaml
Normal file
4
src/main/resources/db/changelog/db.changelog-master.yaml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
databaseChangeLog:
|
||||||
|
- include:
|
||||||
|
file: 01-initial-schema.sql
|
||||||
|
relativeToChangelogFile: true
|
Reference in New Issue
Block a user