CDCgov / trusted-intermediary

Bringing together healthcare providers by reducing the connection burden.
Apache License 2.0
11 stars 5 forks source link

Evaluate Liquibase migration files structure #1616

Open GilmoreA6 opened 6 hours ago

GilmoreA6 commented 6 hours ago

Spike Goal

Determine whether or not we need to refactor how the liquibase changelog .yml files are structured due to current difficulty with changes to FK constrained items.

Timebox

Time allocated (2 FTE days)

Notes

-The above is difficult to accomplish with our current changelog structure as we would have to change the convention we are using in order to apply the migrations in the correct order (ex: we would need to add a changeset that changed the message_link table in the metadata.yml file). This would then make applying the same migrations to a new clean database not work correctly.

-Options: 1.) remove the message link table entirely as proposed in #1422 2.) Completely refactor the migrations to follow the Liquibase release-oriented structure https://docs.liquibase.com/start/design-liquibase-project.html