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.13.6 db/migrate/20140331173835_create_metasploit_credential_publics.rb
metasploit-credential-0.13.5 db/migrate/20140331173835_create_metasploit_credential_publics.rb
metasploit-credential-0.13.3 db/migrate/20140331173835_create_metasploit_credential_publics.rb
metasploit-credential-0.13.2 db/migrate/20140331173835_create_metasploit_credential_publics.rb
metasploit-credential-0.13.1 db/migrate/20140331173835_create_metasploit_credential_publics.rb
metasploit-credential-0.13.0 db/migrate/20140331173835_create_metasploit_credential_publics.rb
metasploit-credential-0.12.0 db/migrate/20140331173835_create_metasploit_credential_publics.rb
metasploit-credential-0.10.2 db/migrate/20140331173835_create_metasploit_credential_publics.rb
metasploit-credential-0.10.1 db/migrate/20140331173835_create_metasploit_credential_publics.rb
metasploit-credential-0.10.1-java db/migrate/20140331173835_create_metasploit_credential_publics.rb
metasploit-credential-0.10.1.pre.dep.pre.railties db/migrate/20140331173835_create_metasploit_credential_publics.rb
metasploit-credential-0.10.0.pre.dep.pre.railties db/migrate/20140331173835_create_metasploit_credential_publics.rb
metasploit-credential-0.9.1 db/migrate/20140331173835_create_metasploit_credential_publics.rb
metasploit-credential-0.9.0 db/migrate/20140331173835_create_metasploit_credential_publics.rb
metasploit-credential-0.9.0-java db/migrate/20140331173835_create_metasploit_credential_publics.rb
metasploit-credential-0.8.9 db/migrate/20140331173835_create_metasploit_credential_publics.rb
metasploit-credential-0.8.8 db/migrate/20140331173835_create_metasploit_credential_publics.rb
metasploit-credential-0.8.7-java db/migrate/20140331173835_create_metasploit_credential_publics.rb
metasploit-credential-0.8.7 db/migrate/20140331173835_create_metasploit_credential_publics.rb
metasploit-credential-0.8.6 db/migrate/20140331173835_create_metasploit_credential_publics.rb