…and so on. I guess it’s about time to contact the Liquibase folks and ask for cooperation! A fully integrated solution involving database schema management, database schema migration, and jOOQ’s source code generation seem to be the perfect toolset for a Java database developer
<pre class="wp-block-syntaxhighlighter-code"> <!-- ALTER TABLE PERSON MODIFY COLUMN firstname VARCHAR(5000); --> <!-- ALTER TABLE ADDRESS ADD CONSTRAINT fk_address_person FOREIGN KEY (person_id) REFERENCES person (id); --> <!-- UPDATE ProductSettings SET property = 'vatCategory' WHERE property = 'vat'; --> property='vat' </pre>
3 thoughts on “Liquibase for DB Migrations”
very funny, i’am also looking at the best tool for database migration, so i came from the https://code.google.com/p/flyway/wiki/JavaMigration site because it’s supports java migration, and then i think combine it with jooq and it will be nicer ;)
so my choice can be C5db migration ou flyaway + jooq for sql execution;)
That’s a nice-looking framework. I’ll certainly have to get into it, as well. Tell me about your experience, once you have started using any of those migration frameworks along with jOOQ!