Sha256: 2bd6db2fbe1bca2a1f46a0354d3078e95200069ae22b932eac9533380182b63f

Contents?: true

Size: 807 Bytes

Versions: 26

Compression:

Stored size: 807 Bytes

Contents

class CreateMetasploitCredentialOriginSessions < ActiveRecord::Migration
  def change
    create_table :metasploit_credential_origin_sessions do |t|
      #
      # Columns
      #

      t.text :post_reference_name, null: false

      #
      # Foreign Keys
      #

      t.references :session, null: false

      #
      # Timestamps
      #

      t.timestamps null: false
    end

    #
    # Indices
    #

    # Index name 'index_metasploit_credential_origin_sessions_on_session_id_and_post_reference_name' on table
    # 'metasploit_credential_origin_sessions' is too long; the limit is 63
    add_index :metasploit_credential_origin_sessions,
              [:session_id, :post_reference_name],
              name: :unique_metasploit_credential_origin_sessions,
              unique: true
  end
end

Version data entries

26 entries across 26 versions & 1 rubygems

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