Sha256: e6cd0286cc6ae48f39b8d28e7757bdba99c717603753c91e73fa29ea8cf782bb

Contents?: true

Size: 786 Bytes

Versions: 68

Compression:

Stored size: 786 Bytes

Contents

class CreateMetasploitCredentialOriginServices < ActiveRecord::Migration
  def change
    create_table :metasploit_credential_origin_services do |t|
      #
      # Foreign Keys
      #

      t.references :service, null: false

      #
      # Columns
      #

      t.text :module_full_name, null: false

      #
      # Timestamps
      #

      t.timestamps
    end

    #
    # Indices
    #

    # Index name 'index_metasploit_credential_origin_services_on_service_id_and_module_full_name' on table
    # 'metasploit_credential_origin_services' is too long; the limit is 63
    add_index :metasploit_credential_origin_services,
              [:service_id, :module_full_name],
              name: :unique_metasploit_credential_origin_services,
              unique: true
  end
end

Version data entries

68 entries across 68 versions & 1 rubygems

Version Path
metasploit-credential-0.7.11-java db/migrate/20140411205325_create_metasploit_credential_origin_services.rb
metasploit-credential-0.7.11 db/migrate/20140411205325_create_metasploit_credential_origin_services.rb
metasploit-credential-0.7.10-java db/migrate/20140411205325_create_metasploit_credential_origin_services.rb
metasploit-credential-0.7.10 db/migrate/20140411205325_create_metasploit_credential_origin_services.rb
metasploit-credential-0.7.10.pre.core.pre.search db/migrate/20140411205325_create_metasploit_credential_origin_services.rb
metasploit-credential-0.7.9.pre.core.pre.search db/migrate/20140411205325_create_metasploit_credential_origin_services.rb
metasploit-credential-0.7.8 db/migrate/20140411205325_create_metasploit_credential_origin_services.rb
metasploit-credential-0.7.8-java db/migrate/20140411205325_create_metasploit_credential_origin_services.rb