Sha256: c5feb4d3a1766694b0dd6e4c4ee7a17f2db8970dd9b70427bde00cf06e5ae577

Contents?: true

Size: 798 Bytes

Versions: 26

Compression:

Stored size: 798 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 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

26 entries across 26 versions & 1 rubygems

Version Path
metasploit-credential-1.1.0 db/migrate/20140411205325_create_metasploit_credential_origin_services.rb
metasploit-credential-1.0.1 db/migrate/20140411205325_create_metasploit_credential_origin_services.rb
metasploit-credential-1.0.0 db/migrate/20140411205325_create_metasploit_credential_origin_services.rb
metasploit-credential-1.0.0.pre.rails.pre.4.0c db/migrate/20140411205325_create_metasploit_credential_origin_services.rb
metasploit-credential-1.0.0.pre.rails.pre.4.0b db/migrate/20140411205325_create_metasploit_credential_origin_services.rb
metasploit-credential-1.0.0.pre.rails.pre.4.0 db/migrate/20140411205325_create_metasploit_credential_origin_services.rb