-
Notifications
You must be signed in to change notification settings - Fork 50
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
Generates two migrations with the same timestamp #33
Comments
I ran into this exact same problem not moments ago. Did a little digging and here's what I found. At first glance it appears that the
to this:
and the migration completed successfully once I reset and re-ran it. Unfortunately since I'm relatively new to Rails (or Ruby for that matter), I can't tell you why this worked. My best guess (read: pure speculation) is that the EDITED TO CLARIFY: I ran into the same problem with both migrations getting the same timestamp as well -- everything I outlined above was what I did to get the second migration to work after changing the timestamp on the second migration as outlined in @leehericks' post above. So, best as I can tell, there's two problems that need to be solved for... the overlapping timestamps and the content of the second migration file. |
Hey @TheOneTrueLX thanks for this! I think with your issue the problem is that the I just created an issue in the |
New example Rails 5.1.4 project, gems:
rails g neo4j:devise User
generates:20170910050708_create_user
20170910050708_devise_create_user_constraints_and_indexes
Running
rails neo4j:migrate
results in:Then I renamed to:
20170910050708_create_user
20170910050709_devise_create_user_constraints_and_indexes
Running
rails neo4j:migrate
results in:Not sure what's happening there...
The text was updated successfully, but these errors were encountered: