20220504134218_drop_setting_ui_client_storage.rb 278 B

123456789
  1. # Copyright (C) 2012-2023 Zammad Foundation, https://zammad-foundation.org/
  2. class DropSettingUiClientStorage < ActiveRecord::Migration[6.1]
  3. def change
  4. return if !Setting.exists?(name: 'system_init_done')
  5. Setting.find_by(name: 'ui_client_storage')&.destroy
  6. end
  7. end