flyway

flyway is a database migration tool for the JVM, providing versioned SQL scripts applied in order, with a history table tracking what's been applied; supports db-specific migrations and the commercial product supports rollbacks.