diff --git a/Procfile b/Procfile index 34f447dda..73a131355 100644 --- a/Procfile +++ b/Procfile @@ -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 diff --git a/app.json b/app.json index 300f363db..679b7f974 100644 --- a/app.json +++ b/app.json @@ -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.", diff --git a/lib/config_loader.rb b/lib/config_loader.rb index 58abf9c21..a313bb190 100644 --- a/lib/config_loader.rb +++ b/lib/config_loader.rb @@ -65,7 +65,7 @@ class ConfigLoader if config return false if config.value.to_s == account_features.to_s - compare_and_save(config) + compare_and_save_feature(config) else save_as_new_config({ name: 'ACCOUNT_LEVEL_FEATURE_DEFAULTS', value: account_features }) end