If this fails, we might be in a `rake db:drop db:create db:migrate`
This commit is contained in:
parent
84a8f0cc0c
commit
a779858d5f
|
@ -48,7 +48,7 @@ after_initialize do
|
||||||
|
|
||||||
TIMEZONE_CUSTOM_FIELD ||= "timezone"
|
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
|
BEGINNING_OF_DAY_HOUR = 6
|
||||||
END_OF_DAY_HOUR = 18
|
END_OF_DAY_HOUR = 18
|
||||||
|
|
Loading…
Reference in New Issue