20180111000001_ldap_samaccountname_to_uid.rb 333 B

123456789101112
  1. # Copyright (C) 2012-2024 Zammad Foundation, https://zammad-foundation.org/
  2. class LdapSamaccountnameToUid < ActiveRecord::Migration[5.1]
  3. def up
  4. # return if it's a new setup to avoid running the migration
  5. return if !Setting.exists?(name: 'system_init_done')
  6. MigrateLdapSamaccountnameToUidJob.perform_later
  7. end
  8. end