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

Feature: Allow to pass storage object to Umzug constructor #133

Merged
merged 1 commit into from
Apr 30, 2017

Conversation

jukkah
Copy link
Contributor

@jukkah jukkah commented Apr 28, 2017

class CustomStorage {
  constructor(...) { ... }
  logMigration(...) { ... }
  unlogMigration(...) { ... }
  executed(...) { ... }
}

const umzug = new Umzug({ storage: new CustomStorage(...) })

Implements #77

@mention-bot
Copy link

@jukkah, thanks for your PR! By analyzing the history of the files in this pull request, we identified @sdepold, @alubbe and @thanpolas to be potential reviewers.

@jukkah jukkah merged commit 25b5434 into sequelize:v2.x Apr 30, 2017
@jukkah jukkah deleted the custom-storage branch April 30, 2017 07:06
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.

2 participants