20170214000001_reload_online_browser_after_cors_csrf_changes.rb 228 B

123456789
  1. class ReloadOnlineBrowserAfterCorsCsrfChanges < ActiveRecord::Migration[4.2]
  2. def up
  3. # return if it's a new setup
  4. return if !Setting.exists?(name: 'system_init_done')
  5. AppVersion.set(true, 'app_version')
  6. end
  7. end