20180111000001_ldap_samaccountname_to_uid.rb 271 B

12345678910
  1. class LdapSamaccountnameToUid < ActiveRecord::Migration[5.1]
  2. def up
  3. # return if it's a new setup to avoid running the migration
  4. return if !Setting.find_by(name: 'system_init_done')
  5. Delayed::Job.enqueue MigrationJob::LdapSamaccountnameToUid.new
  6. end
  7. end