Is it okay to integrate database migration tools like Flyway, Liquibase with the application code base?
问题 I mean is it good practice to allow application to modify the db? Or should database migration be done externally to the application code base? New to this, so any input will be appreciated. We are using java and gradle to build the application. 回答1: Flyway author here. Yes! At the end of the day, there are two important forces at play: Your schema is really tightly coupled to your application code : Your application expects certain tables and columns to be present so it can read & write to