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.7.11-java db/migrate/20140331173835_create_metasploit_credential_publics.rb
metasploit-credential-0.7.11 db/migrate/20140331173835_create_metasploit_credential_publics.rb
metasploit-credential-0.7.10-java db/migrate/20140331173835_create_metasploit_credential_publics.rb
metasploit-credential-0.7.10 db/migrate/20140331173835_create_metasploit_credential_publics.rb
metasploit-credential-0.7.10.pre.core.pre.search db/migrate/20140331173835_create_metasploit_credential_publics.rb
metasploit-credential-0.7.9.pre.core.pre.search db/migrate/20140331173835_create_metasploit_credential_publics.rb
metasploit-credential-0.7.8 db/migrate/20140331173835_create_metasploit_credential_publics.rb
metasploit-credential-0.7.8-java db/migrate/20140331173835_create_metasploit_credential_publics.rb