下記手順でDB再構築しています。
テスト段階でDBの変更をよくしていたので手順だけ忘れないように残しておきます。
① DBのリセット
$ heroku pg:reset DATABASE_URL
コマンドを実行すると
>
↑で画面が止まるのでアプリ名を入れる。
② マイグレーション(再構築)
$ heroku run rake db:migrate
③ Herokuの再起動
$ heroku restart --app APP_NAME
migrateした後に再起動しないとエラーが出る時があるらしいので下記を実行。[APP_NAME]をアプリ名に変える。
④ データseeds
$ heroku run rails db:seed
AWSでデプロイしている場合であれば
rake db:seed RAILS_ENV=production
とQiitaに書いてあったが
AWSとPaiza.cloud共に上記で行けたので今はこれで行ってる。