Open BrunoRosendo opened 2 years ago
Currently, changing a model without changing or re-creating the database will result in the following exception:
org.hibernate.tool.schema.spi.CommandAcceptanceException: Error executing DDL "alter table event add column dummy integer not null" via JDBC Statement
We need to make sure we can easily do this kind of migrations when we have a production DB
Consider the options specified in spring docs https://docs.spring.io/spring-boot/docs/2.1.1.RELEASE/reference/html/howto-database-initialization.html#howto-use-a-higher-level-database-migration-tool
Currently, changing a model without changing or re-creating the database will result in the following exception:
We need to make sure we can easily do this kind of migrations when we have a production DB