You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Move away from using the mattes/migrate migration library #2452
The migration library we are using provides very limited debugging information in the case of a failed migration. This leads to issues when trying to figure out the root cause of a migration failure, and also hinders the user because the database is marked as dirty, which requires a deeper understanding to fix. One example of this occurrence is in issue #2074
A Modest Proposal
This issue is to look at using other database migration libraries that support both go and sql migrations, or to write our own migration library if required.
We looked into using the other database migration libraries but they didn't quite fit our use case, either because we weren't able to run both go and sql migrations as part of the same up migration, or because the library wouldn't allow us to pass required config information into the go migrations.
We settled on the solution of writing our own migration library to have more control over running our migrations.
Activity
ddadlani commentedon Aug 1, 2018
We looked into using the other database migration libraries but they didn't quite fit our use case, either because we weren't able to run both
goandsqlmigrations as part of the same up migration, or because the library wouldn't allow us to pass required config information into thegomigrations.We settled on the solution of writing our own migration library to have more control over running our migrations.
bump atc
bump atc
bump atc
bump atc
ddadlani commentedon Aug 8, 2018
The migration library is mostly replaced, with the exception of a CLI to generate SQL and Go up and down migration files in the required format. The CLI is a WIP on branch https://github.com/concourse/atc/tree/migration-cli.
The next step after the CLI is to extract the library into its own repository for easier maintenance and wider usability.
bump atc