Skip to content

Instantly share code, notes, and snippets.

@PelagicDev
Last active March 3, 2017 19:32
Show Gist options
  • Save PelagicDev/586bb9f3c0543ba499a1274b301c12a4 to your computer and use it in GitHub Desktop.
Save PelagicDev/586bb9f3c0543ba499a1274b301c12a4 to your computer and use it in GitHub Desktop.
Reset Wildfire-staging App (Heroku)

RESET & RE-SEED HEROKU DATABASE (wildfire-staging):

  1. From the terminal, run: heroku pg:reset -a wildfire-staging & confirm the app name wildfire-staging
  2. From Postico’s SQL editor, run: CREATE EXTENSION postgis;
  3. Back to terminal, run: heroku run rails db:setup_heroku -a wildfire-staging
  4. The terminal should output “Heroku App Ready!” when it’s finished.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment