Helpful Heroku db commands
Just gonna keep some of these commands here for posterity. You can easily reset or partially reset your local tables/database or staging database by using these commands.
#Might have to install taps and sqlite3
sudo gem install taps
sudo gem install sqlite3
#Push your local database up to Heroku
heroku db:push
#Pull from Heroku to your local database
heroku db:pull
#Pull specific table
heroku db:pull --tables <comma_separated_table_names>
#If an interruption occurs, taps will dump a session file which can be used to resume the transfer
heroku db:pull --resume-filename <session_file_name>.dat
#Update your local schema from local database after pulling from heroku
rake db:schema:dump