-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed
Description
What do you think about adding a method that executes just after the migration step and before increasing the current migration version? Mainly to be sure that everything worked as expected.
Something like:
&migrator.Migration{
Name: "my migration",
Func: func(tx *sql.Tx) error {
// add migration logic here.
},
TestFunc: func(tx *sql.Tx) error {
// add testing logic here.
},
}
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed