Sha256: cdcff577f02056c22d86978f71ef8da695600a3aca2ac7142406e009024b69f2

Contents?: true

Size: 395 Bytes

Versions: 68

Compression:

Stored size: 395 Bytes

Contents

class CreateMetasploitCredentialPublics < ActiveRecord::Migration
  def change
    create_table :metasploit_credential_publics do |t|
      #
      # Columns
      #

      t.string :username, null: false

      #
      # Timestamps
      #

      t.timestamps
    end

    change_table :metasploit_credential_publics do |t|
      t.index :username,
              unique: true
    end
  end
end

Version data entries

68 entries across 68 versions & 1 rubygems

Version Path
metasploit-credential-0.8.6.pre.realm.pre.uniqueness db/migrate/20140331173835_create_metasploit_credential_publics.rb
metasploit-credential-0.8.4-java db/migrate/20140331173835_create_metasploit_credential_publics.rb
metasploit-credential-0.8.4 db/migrate/20140331173835_create_metasploit_credential_publics.rb
metasploit-credential-0.8.3-java db/migrate/20140331173835_create_metasploit_credential_publics.rb
metasploit-credential-0.8.3 db/migrate/20140331173835_create_metasploit_credential_publics.rb
metasploit-credential-0.8.2 db/migrate/20140331173835_create_metasploit_credential_publics.rb
metasploit-credential-0.8.2-java db/migrate/20140331173835_create_metasploit_credential_publics.rb
metasploit-credential-0.8.1-java db/migrate/20140331173835_create_metasploit_credential_publics.rb
metasploit-credential-0.8.1 db/migrate/20140331173835_create_metasploit_credential_publics.rb
metasploit-credential-0.7.17-java db/migrate/20140331173835_create_metasploit_credential_publics.rb
metasploit-credential-0.7.17 db/migrate/20140331173835_create_metasploit_credential_publics.rb
metasploit-credential-0.7.16-java db/migrate/20140331173835_create_metasploit_credential_publics.rb
metasploit-credential-0.7.16 db/migrate/20140331173835_create_metasploit_credential_publics.rb
metasploit-credential-0.7.15-java db/migrate/20140331173835_create_metasploit_credential_publics.rb
metasploit-credential-0.7.15 db/migrate/20140331173835_create_metasploit_credential_publics.rb
metasploit-credential-0.7.14 db/migrate/20140331173835_create_metasploit_credential_publics.rb
metasploit-credential-0.7.13-java db/migrate/20140331173835_create_metasploit_credential_publics.rb
metasploit-credential-0.7.13 db/migrate/20140331173835_create_metasploit_credential_publics.rb
metasploit-credential-0.7.12-java db/migrate/20140331173835_create_metasploit_credential_publics.rb
metasploit-credential-0.7.12 db/migrate/20140331173835_create_metasploit_credential_publics.rb