Sha256: 5c5070c7bec1530b12ba3ff10550c64c9bcf951fb19ebd9bcdd23d43cb323324

Contents?: true

Size: 803 Bytes

Versions: 28

Compression:

Stored size: 803 Bytes

Contents

class CreateMetasploitCredentialOriginServices < ActiveRecord::Migration[4.2]
  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 null: false
    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

28 entries across 28 versions & 1 rubygems

Version Path
metasploit-credential-6.0.11 db/migrate/20140411205325_create_metasploit_credential_origin_services.rb
metasploit-credential-6.0.10 db/migrate/20140411205325_create_metasploit_credential_origin_services.rb
metasploit-credential-6.0.9 db/migrate/20140411205325_create_metasploit_credential_origin_services.rb
metasploit-credential-6.0.8 db/migrate/20140411205325_create_metasploit_credential_origin_services.rb
metasploit-credential-6.0.7 db/migrate/20140411205325_create_metasploit_credential_origin_services.rb
metasploit-credential-6.0.6 db/migrate/20140411205325_create_metasploit_credential_origin_services.rb
metasploit-credential-6.0.5 db/migrate/20140411205325_create_metasploit_credential_origin_services.rb
metasploit-credential-6.0.4 db/migrate/20140411205325_create_metasploit_credential_origin_services.rb
metasploit-credential-6.0.3 db/migrate/20140411205325_create_metasploit_credential_origin_services.rb
metasploit-credential-6.0.2 db/migrate/20140411205325_create_metasploit_credential_origin_services.rb
metasploit-credential-6.0.1 db/migrate/20140411205325_create_metasploit_credential_origin_services.rb
metasploit-credential-6.0.0 db/migrate/20140411205325_create_metasploit_credential_origin_services.rb
metasploit-credential-5.0.9 db/migrate/20140411205325_create_metasploit_credential_origin_services.rb
metasploit-credential-5.0.8 db/migrate/20140411205325_create_metasploit_credential_origin_services.rb
metasploit-credential-5.0.7 db/migrate/20140411205325_create_metasploit_credential_origin_services.rb
metasploit-credential-5.0.6 db/migrate/20140411205325_create_metasploit_credential_origin_services.rb
metasploit-credential-5.0.5 db/migrate/20140411205325_create_metasploit_credential_origin_services.rb
metasploit-credential-5.0.4 db/migrate/20140411205325_create_metasploit_credential_origin_services.rb
metasploit-credential-5.0.3 db/migrate/20140411205325_create_metasploit_credential_origin_services.rb
metasploit-credential-5.0.2 db/migrate/20140411205325_create_metasploit_credential_origin_services.rb