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
Is your feature request related to a problem? Please describe.
I have a go migrator integrated in my application. It migrates all necessary features for the app to run. But now I want to create a integration tests setup, where test data needs to be migrated to the database. Therefore my plan was to use a second migrator. Is it possible to prefix the lock with a certain migrator ID.
Describe the solution you'd like
I would like to tag database versions. This could be by default "default", but also custom tags like "integration-tests".
Describe alternatives you've considered
Don't use Go-Migrator and use a big sql statement by go execution (which is not maintainable imo)
Additional context
My Integration Tests insert stuff like new users or special data entities to make usage of these tests easier and to not start everything completely from scratch
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
I have a go migrator integrated in my application. It migrates all necessary features for the app to run. But now I want to create a integration tests setup, where test data needs to be migrated to the database. Therefore my plan was to use a second migrator. Is it possible to prefix the lock with a certain migrator ID.
Describe the solution you'd like
I would like to tag database versions. This could be by default "default", but also custom tags like "integration-tests".
Describe alternatives you've considered
Don't use Go-Migrator and use a big sql statement by go execution (which is not maintainable imo)
Additional context
My Integration Tests insert stuff like new users or special data entities to make usage of these tests easier and to not start everything completely from scratch
The text was updated successfully, but these errors were encountered: