So there's the pre-story. Now my database was all screwed up and so all the tests back in master were failing because things like "user_name" was changed to "user_firstname" and so on. So I did
rake db:migrate:resetThis is a pretty strong reset and deletes everything....so know, "With great power comes great responsibility"
To get my system back on track we did a sql dump of all the data that had been added and to add it back you do the following (one of many ways):
- Download the sql dump file
- Go to the folder where the file is
- Go into mysql
- show databases;
- use
database_name; (where "database_name" is the one you want to repopulate) - source
filename.sql; (where "filename.sql" is the sql dump)
No comments:
Post a Comment