Sha256: ff1af996ee09cdc46e0ca62b908d0192120635d5444fffb3e7dc9350968897eb

Contents?: true

Size: 360 Bytes

Versions: 43

Compression:

Stored size: 360 Bytes

Contents

# Implements a one-time migration of `Mdm::Cred` objects to
# appropriate objects from {Metasploit::Credential}
# This second run is due to the refactor of #report_auth_info
# that means we should no longer be creating old creds anywhere.
class OldCredsToNewCreds2 < ActiveRecord::Migration
  def up
    Metasploit::Credential::Migrator.new.migrate!
  end
end

Version data entries

43 entries across 43 versions & 1 rubygems

Version Path
metasploit-credential-3.0.4 db/migrate/20150106201450_old_creds_to_new_creds2.rb
metasploit-credential-3.0.3 db/migrate/20150106201450_old_creds_to_new_creds2.rb
metasploit-credential-3.0.2 db/migrate/20150106201450_old_creds_to_new_creds2.rb
metasploit-credential-3.0.1 db/migrate/20150106201450_old_creds_to_new_creds2.rb
metasploit-credential-3.0.0 db/migrate/20150106201450_old_creds_to_new_creds2.rb
metasploit-credential-2.0.14 db/migrate/20150106201450_old_creds_to_new_creds2.rb
metasploit-credential-2.0.13 db/migrate/20150106201450_old_creds_to_new_creds2.rb
metasploit-credential-2.0.12 db/migrate/20150106201450_old_creds_to_new_creds2.rb
metasploit-credential-2.0.11 db/migrate/20150106201450_old_creds_to_new_creds2.rb
metasploit-credential-2.0.10 db/migrate/20150106201450_old_creds_to_new_creds2.rb
metasploit-credential-2.0.9 db/migrate/20150106201450_old_creds_to_new_creds2.rb
metasploit-credential-2.0.8 db/migrate/20150106201450_old_creds_to_new_creds2.rb
metasploit-credential-2.0.7 db/migrate/20150106201450_old_creds_to_new_creds2.rb
metasploit-credential-2.0.6 db/migrate/20150106201450_old_creds_to_new_creds2.rb
metasploit-credential-2.0.5 db/migrate/20150106201450_old_creds_to_new_creds2.rb
metasploit-credential-2.0.4 db/migrate/20150106201450_old_creds_to_new_creds2.rb
metasploit-credential-2.0.3 db/migrate/20150106201450_old_creds_to_new_creds2.rb
metasploit-credential-2.0.2 db/migrate/20150106201450_old_creds_to_new_creds2.rb
metasploit-credential-2.0.1 db/migrate/20150106201450_old_creds_to_new_creds2.rb
metasploit-credential-2.0.0 db/migrate/20150106201450_old_creds_to_new_creds2.rb