2019-07-04 11:16:55 +00:00
|
|
|
return if !ActiveRecord::Base.connected?
|
|
|
|
|
2014-11-19 22:45:37 +00:00
|
|
|
# sync logo to fs / only if settings already exists
|
2019-07-04 11:16:55 +00:00
|
|
|
return if ActiveRecord::Base.connection.tables.exclude?('settings')
|
|
|
|
return if Setting.column_names.exclude?('state_current')
|
|
|
|
|
|
|
|
StaticAssets.sync
|