If this fails, we might be in a `rake db:drop db:create db:migrate`

This commit is contained in:
Robin Ward 2019-12-18 15:07:17 -05:00
parent 84a8f0cc0c
commit a779858d5f
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ after_initialize do
TIMEZONE_CUSTOM_FIELD ||= "timezone"
USER_OPTIONS_TIMEZONE_ENABLED = UserOption.column_names.include?('timezone')
USER_OPTIONS_TIMEZONE_ENABLED = UserOption.column_names.include?('timezone') rescue nil
BEGINNING_OF_DAY_HOUR = 6
END_OF_DAY_HOUR = 18