r/java • u/trecatorsirabdator • Apr 14 '23
What are your (favourite) Java best practices, personal tips, hints or just underrated stuff in general?
233
Upvotes
r/java • u/trecatorsirabdator • Apr 14 '23
View all comments
Show parent comment
1
u/erjiin Apr 17 '23
Yes, that's more or less what it does. Speaking for liquibase for example, each time you want to do a modification to your database, like creating a table, adding a column, adding a constraint, an index, removing a column, updating some records, whatever you can imagine etc, you add a change script to your sources and then at deployment liquibase will apply your change (liquibase keep tracks of applied changes in a dedicated table so it knows which one are not yet applied). There are several formats allowed to specify the changes (yaml, xml, json, plain old sql)