Use db:prepare instead of db:migrate (#924)

Use db:prepare instead of db:migrate

Co-authored-by: Pranav Raj Sreepuram <pranavrajs@gmail.com>
This commit is contained in:
Sojan Jose 2020-06-04 23:13:10 +05:30 committed by GitHub
parent 72a25ffdc5
commit 68be7e3ea8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 4 deletions

View file

@ -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

View file

@ -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.",