20200911070327_data_privacy_delete_name.rb 317 B

1234567891011
  1. # Copyright (C) 2012-2022 Zammad Foundation, https://zammad-foundation.org/
  2. class DataPrivacyDeleteName < ActiveRecord::Migration[5.2]
  3. def change
  4. # return if it's a new setup
  5. return if !Setting.exists?(name: 'system_init_done')
  6. remove_column :data_privacy_tasks, :name, :string, limit: 150
  7. end
  8. end