Sha256: 830ef6c37249de32618f8fa6bd26a915a22cffdbb7771d1367b89cfbaed0d333

Contents?: true

Size: 198 Bytes

Versions: 28

Compression:

Stored size: 198 Bytes

Contents

class UniqueMetasploitCredentialRealms < ActiveRecord::Migration[4.2]
  def change
    change_table :metasploit_credential_realms do |t|
      t.index [:key, :value], unique: true
    end
  end
end

Version data entries

28 entries across 28 versions & 1 rubygems

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