Skip to content

Instantly share code, notes, and snippets.

@mycargus
Last active May 16, 2017 05:49
Show Gist options
  • Save mycargus/64fd582a37891f6025e81bc0fa9fb76f to your computer and use it in GitHub Desktop.
Save mycargus/64fd582a37891f6025e81bc0fa9fb76f to your computer and use it in GitHub Desktop.

Revisions

  1. mycargus revised this gist May 16, 2017. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion reset_heroku_db.bash
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,4 @@
    heroku pg:reset SHARED_DATABASE --app <APP>
    heroku pg:reset DATABASE_URL --app <APP>
    heroku run bin/rails db:migrate --app <APP>
    heroku run bin/rails db:seed --app <APP>
    heroku restart --app <APP>
  2. mycargus created this gist May 16, 2017.
    4 changes: 4 additions & 0 deletions reset_heroku_db.bash
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,4 @@
    heroku pg:reset SHARED_DATABASE --app <APP>
    heroku run bin/rails db:migrate --app <APP>
    heroku run bin/rails db:seed --app <APP>
    heroku restart --app <APP>