You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As stated in the title, running rails db:create will cause PG::ConnectionBad error due to line 21 in config/initializers/spree/customer_segmentation/constants.rb as the initializer is run before the database is created.
Suggested fix would be to rescue the error and show a warning in cases when database hasn't been created yet.
The text was updated successfully, but these errors were encountered:
As stated in the title, running
rails db:create
will causePG::ConnectionBad
error due to line 21 inconfig/initializers/spree/customer_segmentation/constants.rb
as the initializer is run before the database is created.Suggested fix would be to rescue the error and show a warning in cases when database hasn't been created yet.
The text was updated successfully, but these errors were encountered: