it-at-m / refarch-templates

All templates for the Reference Architecture of it@M
MIT License
8 stars 4 forks source link

[Feature] Setup database migration (i.e. Flyway) #543

Open simonhir opened 1 week ago

simonhir commented 1 week ago

Relevant template

refarch-backend

Problem description (optional)

No response

Desired solution

Instead of hibernate ddl-auto a real db migration tool should be added for reproducible behavior. Also this enforces database changes are only made explicitly by providing specific migrations.

The decision on which tool to use should also be made in this issue (i.e. flyway).

Considered alternatives (optional)

No response

Additional context (optional)

No response

No duplicate

Code of Conduct

eidottermihi commented 4 days ago

:+1: for using Flyway for database migrations:

Disclaimer: I never used Liquibase ;)

If the decision is Flyway, I'm happy to make the code contribution

DanielOber commented 3 days ago

@eidottermihi

I discussed this with @devtobi, and we've decided to use Flyway for database migrations. If you're interested and have the time, feel free to assign the ticket to yourself and contribute. 👍