Random
Random

Reputation: 97

Another user deleted migration files

I was working on a rails application with another user who wasn't confident with rails at the time. The person accidentally deleted a few migration files, now when I try in to deploy the app on a new machine the migration's can not run correctly is it possible to generate the migration files based on models etc..

Any help would be appreciated

Thanks....

Upvotes: 0

Views: 82

Answers (1)

Stuart Nelson
Stuart Nelson

Reputation: 4202

As Marek said, assuming you use version control, you can go back to where those changes were made and revert that commit.

If you're not using version control, then I think you just received a great lesson in why you should be using version control :)

Upvotes: 1

Related Questions