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

Doesn't run old migration #22

Closed
mxstbr opened this issue Jul 14, 2017 · 1 comment
Closed

Doesn't run old migration #22

mxstbr opened this issue Jul 14, 2017 · 1 comment
Assignees

Comments

@mxstbr
Copy link

mxstbr commented Jul 14, 2017

Say you have two people working on an app, both in a separate branch. (branch-a and branch-b) First the person on branch-b creates a migration to develop their feature, then the person on branch-a.

Now branch-a gets merged and the migration from that branch ran in production. Sometime later branch-b is merged, but the issue is that the branch-b migration doesn't run production, I assume because it's "older" than the last one that was ran from branch-a.

Any ideas how to fix this?

@lirantal lirantal self-assigned this Jul 14, 2017
@lirantal
Copy link
Collaborator

For that reason and others I proposed #21 which got merged and you just need to make sure you use the latest npm version, then execute migrations with -i and it will apply all migrations regardless of their timestamp.

@mxstbr mxstbr closed this as completed Jul 14, 2017
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

No branches or pull requests

2 participants