20160212000001_app_version.rb.rb 391 B

1234567891011121314
  1. class AppVersion < ActiveRecord::Migration
  2. def up
  3. Setting.create_if_not_exists(
  4. title: 'App Version',
  5. name: 'app_version',
  6. area: 'Core::WebApp',
  7. description: 'Only used for internal, to propagate current web app version to clients.',
  8. options: {},
  9. state: '',
  10. preferences: { online_service_disable: true },
  11. frontend: false
  12. )
  13. end
  14. end