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.13.6 db/migrate/20140417140933_create_metasploit_credential_logins.rb
metasploit-credential-0.13.5 db/migrate/20140417140933_create_metasploit_credential_logins.rb
metasploit-credential-0.13.3 db/migrate/20140417140933_create_metasploit_credential_logins.rb
metasploit-credential-0.13.2 db/migrate/20140417140933_create_metasploit_credential_logins.rb
metasploit-credential-0.13.1 db/migrate/20140417140933_create_metasploit_credential_logins.rb
metasploit-credential-0.13.0 db/migrate/20140417140933_create_metasploit_credential_logins.rb
metasploit-credential-0.12.0 db/migrate/20140417140933_create_metasploit_credential_logins.rb
metasploit-credential-0.10.2 db/migrate/20140417140933_create_metasploit_credential_logins.rb
metasploit-credential-0.10.1 db/migrate/20140417140933_create_metasploit_credential_logins.rb
metasploit-credential-0.10.1-java db/migrate/20140417140933_create_metasploit_credential_logins.rb
metasploit-credential-0.10.1.pre.dep.pre.railties db/migrate/20140417140933_create_metasploit_credential_logins.rb
metasploit-credential-0.10.0.pre.dep.pre.railties db/migrate/20140417140933_create_metasploit_credential_logins.rb
metasploit-credential-0.9.1 db/migrate/20140417140933_create_metasploit_credential_logins.rb
metasploit-credential-0.9.0 db/migrate/20140417140933_create_metasploit_credential_logins.rb
metasploit-credential-0.9.0-java db/migrate/20140417140933_create_metasploit_credential_logins.rb
metasploit-credential-0.8.9 db/migrate/20140417140933_create_metasploit_credential_logins.rb
metasploit-credential-0.8.8 db/migrate/20140417140933_create_metasploit_credential_logins.rb
metasploit-credential-0.8.7-java db/migrate/20140417140933_create_metasploit_credential_logins.rb
metasploit-credential-0.8.7 db/migrate/20140417140933_create_metasploit_credential_logins.rb
metasploit-credential-0.8.6 db/migrate/20140417140933_create_metasploit_credential_logins.rb