20170214000001_reload_online_browser_after_cors_csrf_changes.rb 222 B

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