Skip to content

Commit

Permalink
Replace heroku rake tasks with db:prepare (#267)
Browse files Browse the repository at this point in the history
  • Loading branch information
bensheldon authored Jul 30, 2024
1 parent 8470a7b commit ebc1372
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 20 deletions.
2 changes: 1 addition & 1 deletion Procfile
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
release: POSTGRES_STATEMENT_TIMEOUT=90s bin/rails heroku:release
release: POSTGRES_STATEMENT_TIMEOUT=90s bin/rails db:prepare
web: bin/rails server
2 changes: 1 addition & 1 deletion app.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"website": "",
"repository": "https://github.com/codeforamerica/open311status",
"scripts": {
"postdeploy": "POSTGRES_STATEMENT_TIMEOUT=90s bin/rails heroku:postdeploy"
"postdeploy": "POSTGRES_STATEMENT_TIMEOUT=90s bin/rails db:prepare
},
"env": {
"HEROKU_APP_NAME": {
Expand Down
18 changes: 0 additions & 18 deletions lib/tasks/heroku.rake

This file was deleted.

0 comments on commit ebc1372

Please sign in to comment.