20240227104106_update_upload_cache_object_id.rb 343 B

1234567891011
  1. # Copyright (C) 2012-2024 Zammad Foundation, https://zammad-foundation.org/
  2. class UpdateUploadCacheObjectId < ActiveRecord::Migration[7.0]
  3. def change
  4. # return if it's a new setup
  5. return if !Setting.exists?(name: 'system_init_done')
  6. change_column :stores, :o_id, :string, limit: 255
  7. Store.reset_column_information
  8. end
  9. end