Playground with flyway, jOOQ, H2 and SpringBoot
To run a full build
(master) $ gradle build -i
Flyway is available in the Gradle build. Run:
(master) $ gradle flywayMigrate -i
Display DB info
(master) $ gradle flywayInfo -i
This command display the current DB status and migrations done.
Schema version: 2
+-----------+---------+---------------------+------+---------------------+---------+
| Category | Version | Description | Type | Installed On | State |
+-----------+---------+---------------------+------+---------------------+---------+
| Versioned | 1 | Create person table | SQL | 2019-02-10 22:37:36 | Success |
| Versioned | 2 | Add people | SQL | 2019-02-10 22:39:58 | Success |
+-----------+---------+---------------------+------+---------------------+---------+
(master) $ gradle clean test -i
App run http://localhost:8080/
(master) $ gradle bootRun -i
Available rest endpoint
http://localhost:8080/persons