Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use different migration table #70

Merged
merged 1 commit into from
Aug 22, 2019

Conversation

cammellos
Copy link
Collaborator

Use latest migrate, and offers a Migrate method that client should be using (passing a sql.DB as an argument), to migrate data, so that migrations from mvds are stored in a separate table.

@cammellos cammellos self-assigned this Aug 22, 2019
type Migration struct {
Names []string
Getter func(name string) ([]byte, error)
}

func prepareMigrations(migrations []Migration) ([]string, getter, error) {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Similar comment as in status-protocol-go. I would try to make persistenceutil generic and have this one in the root dir.

@cammellos cammellos merged commit a8dc375 into master Aug 22, 2019
@adambabik adambabik deleted the feature/use-different-migration-table branch August 23, 2019 05:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants