ratifire / devrate-service

1 stars 0 forks source link

Migrate from automatic database schema generation with Hibernate to Liquibase #478

Closed abalmasDA closed 1 month ago

abalmasDA commented 1 month ago

This task must be executed only after a general discussion with team members.

Description: 1) Add the necessary configuration for Liquibase (to pom, app prop etc). 2) Migrate the current database schema, which is automatically generated by Hibernate, to Liquibase by creating the necessary changeLog files. 3) Disable automatic schema generation through Hibernate in app prop (spring.jpa.hibernate.ddl-auto setting etc). 4) Ensure that the scripts from the data.sql file are executed correctly. 5) Test the migration to ensure that everything works as expected.