Sha256: e2876b1108cee507fbef6b59ee69a07f5bc827b560f58ed207e12019a626eaaa

Contents?: true

Size: 365 Bytes

Versions: 28

Compression:

Stored size: 365 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[4.2]
  def up
    Metasploit::Credential::Migrator.new.migrate!
  end
end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
metasploit-credential-5.0.1 db/migrate/20150106201450_old_creds_to_new_creds2.rb
metasploit-credential-5.0.0 db/migrate/20150106201450_old_creds_to_new_creds2.rb
metasploit-credential-4.0.5 db/migrate/20150106201450_old_creds_to_new_creds2.rb
metasploit-credential-4.0.4 db/migrate/20150106201450_old_creds_to_new_creds2.rb
metasploit-credential-4.0.3 db/migrate/20150106201450_old_creds_to_new_creds2.rb
metasploit-credential-4.0.2 db/migrate/20150106201450_old_creds_to_new_creds2.rb
metasploit-credential-4.0.1 db/migrate/20150106201450_old_creds_to_new_creds2.rb
metasploit-credential-4.0.0 db/migrate/20150106201450_old_creds_to_new_creds2.rb