Sha256: bd7ab202a9d2c253f4c24c0fd54fda4c67e5459c3f371f58db6dbbae8c2326ef

Contents?: true

Size: 649 Bytes

Versions: 68

Compression:

Stored size: 649 Bytes

Contents

class CreateMetasploitCredentialLogins < ActiveRecord::Migration
  def change
    create_table :metasploit_credential_logins do |t|
      #
      # Foreign Keys
      #

      t.references :core, null: false
      t.references :service, null: false

      #
      # Columns
      #

      t.string :access_level, null: true
      t.string :status, null: false

      #
      # Timestamps
      #

      t.datetime :last_attempted_at, null: true
      t.timestamps
    end

    change_table :metasploit_credential_logins do |t|
      t.index [:core_id, :service_id], unique: true
      t.index [:service_id, :core_id], unique: true
    end
  end
end

Version data entries

68 entries across 68 versions & 1 rubygems

Version Path
metasploit-credential-0.14.8 db/migrate/20140417140933_create_metasploit_credential_logins.rb
metasploit-credential-0.14.7 db/migrate/20140417140933_create_metasploit_credential_logins.rb
metasploit-credential-0.14.6 db/migrate/20140417140933_create_metasploit_credential_logins.rb
metasploit-credential-0.14.5 db/migrate/20140417140933_create_metasploit_credential_logins.rb
metasploit-credential-0.14.4 db/migrate/20140417140933_create_metasploit_credential_logins.rb
metasploit-credential-0.14.3 db/migrate/20140417140933_create_metasploit_credential_logins.rb
metasploit-credential-0.14.2 db/migrate/20140417140933_create_metasploit_credential_logins.rb
metasploit-credential-0.14.1 db/migrate/20140417140933_create_metasploit_credential_logins.rb
metasploit-credential-0.14.0 db/migrate/20140417140933_create_metasploit_credential_logins.rb
metasploit-credential-0.13.19 db/migrate/20140417140933_create_metasploit_credential_logins.rb
metasploit-credential-0.13.18 db/migrate/20140417140933_create_metasploit_credential_logins.rb
metasploit-credential-0.13.17 db/migrate/20140417140933_create_metasploit_credential_logins.rb
metasploit-credential-0.13.16 db/migrate/20140417140933_create_metasploit_credential_logins.rb
metasploit-credential-0.13.15 db/migrate/20140417140933_create_metasploit_credential_logins.rb
metasploit-credential-0.13.12 db/migrate/20140417140933_create_metasploit_credential_logins.rb
metasploit-credential-0.13.11 db/migrate/20140417140933_create_metasploit_credential_logins.rb
metasploit-credential-0.13.10 db/migrate/20140417140933_create_metasploit_credential_logins.rb
metasploit-credential-0.13.9 db/migrate/20140417140933_create_metasploit_credential_logins.rb
metasploit-credential-0.13.8 db/migrate/20140417140933_create_metasploit_credential_logins.rb
metasploit-credential-0.13.7 db/migrate/20140417140933_create_metasploit_credential_logins.rb