Sha256: 2ba85c2b5d87e9ef3fcd5775d8820a268ab33f9022105c619b5829059b2cd47c

Contents?: true

Size: 482 Bytes

Versions: 68

Compression:

Stored size: 482 Bytes

Contents

class CreateMetasploitCredentialPrivates < ActiveRecord::Migration
  def change
    create_table :metasploit_credential_privates do |t|
      #
      # Single Table Inheritance
      #

      t.string :type, null: false

      #
      # Columns
      #

      t.text :data, null: false

      #
      # Timestamps
      #

      t.timestamps
    end

    change_table :metasploit_credential_privates do |t|
      t.index [:type, :data],
              unique: true
    end
  end
end

Version data entries

68 entries across 68 versions & 1 rubygems

Version Path
metasploit-credential-0.14.8 db/migrate/20140407212345_create_metasploit_credential_privates.rb
metasploit-credential-0.14.7 db/migrate/20140407212345_create_metasploit_credential_privates.rb
metasploit-credential-0.14.6 db/migrate/20140407212345_create_metasploit_credential_privates.rb
metasploit-credential-0.14.5 db/migrate/20140407212345_create_metasploit_credential_privates.rb
metasploit-credential-0.14.4 db/migrate/20140407212345_create_metasploit_credential_privates.rb
metasploit-credential-0.14.3 db/migrate/20140407212345_create_metasploit_credential_privates.rb
metasploit-credential-0.14.2 db/migrate/20140407212345_create_metasploit_credential_privates.rb
metasploit-credential-0.14.1 db/migrate/20140407212345_create_metasploit_credential_privates.rb
metasploit-credential-0.14.0 db/migrate/20140407212345_create_metasploit_credential_privates.rb
metasploit-credential-0.13.19 db/migrate/20140407212345_create_metasploit_credential_privates.rb
metasploit-credential-0.13.18 db/migrate/20140407212345_create_metasploit_credential_privates.rb
metasploit-credential-0.13.17 db/migrate/20140407212345_create_metasploit_credential_privates.rb
metasploit-credential-0.13.16 db/migrate/20140407212345_create_metasploit_credential_privates.rb
metasploit-credential-0.13.15 db/migrate/20140407212345_create_metasploit_credential_privates.rb
metasploit-credential-0.13.12 db/migrate/20140407212345_create_metasploit_credential_privates.rb
metasploit-credential-0.13.11 db/migrate/20140407212345_create_metasploit_credential_privates.rb
metasploit-credential-0.13.10 db/migrate/20140407212345_create_metasploit_credential_privates.rb
metasploit-credential-0.13.9 db/migrate/20140407212345_create_metasploit_credential_privates.rb
metasploit-credential-0.13.8 db/migrate/20140407212345_create_metasploit_credential_privates.rb
metasploit-credential-0.13.7 db/migrate/20140407212345_create_metasploit_credential_privates.rb