Skip to content

Commit

Permalink
Use db:prepare instead of db:migrate (chatwoot#924)
Browse files Browse the repository at this point in the history
Use db:prepare instead of db:migrate

Co-authored-by: Pranav Raj Sreepuram <[email protected]>
  • Loading branch information
sojan-official and pranavrajs authored Jun 4, 2020
1 parent 72a25ff commit 68be7e3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion Procfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
release: bundle exec rake db:migrate
release: bundle exec rails db:prepare
web: bin/rails server -p $PORT -e $RAILS_ENV
worker: bundle exec sidekiq -C config/sidekiq.yml
3 changes: 0 additions & 3 deletions app.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@
"vue"
],
"success_url": "/app/login",
"scripts": {
"postdeploy": "bundle exec rake db:schema:load && bundle exec rake db:seed"
},
"env": {
"SECRET_TOKEN": {
"description": "A secret key for verifying the integrity of signed cookies.",
Expand Down

0 comments on commit 68be7e3

Please sign in to comment.