Sha256: 069b06d89691222b6518885325ca2d908afa926c7697dac4f6d4f927bb4ac4f2

Contents?: true

Size: 536 Bytes

Versions: 10

Compression:

Stored size: 536 Bytes

Contents

class CreateModuleRuns < ActiveRecord::Migration
  def change
    create_table :module_runs do |t|
      t.datetime :attempted_at
      t.text :fail_detail
      t.string :fail_reason
      t.text :module_fullname
      t.integer :port
      t.string :proto
      t.integer :session_id
      t.string :status
      t.integer :trackable_id
      t.string :trackable_type
      t.integer :user_id
      t.string :username

      t.timestamps
    end

    add_index :module_runs, :session_id
    add_index :module_runs, :user_id
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
metasploit_data_models-0.24.5 db/migrate/20150219173821_create_module_runs.rb
metasploit_data_models-0.24.4 db/migrate/20150219173821_create_module_runs.rb
metasploit_data_models-0.24.3 db/migrate/20150219173821_create_module_runs.rb
metasploit_data_models-0.24.2 db/migrate/20150219173821_create_module_runs.rb
metasploit_data_models-0.24.1.pre.rspec.pre.3.pre.1 db/migrate/20150219173821_create_module_runs.rb
metasploit_data_models-0.24.1 db/migrate/20150219173821_create_module_runs.rb
metasploit_data_models-0.24.0 db/migrate/20150219173821_create_module_runs.rb
metasploit_data_models-0.23.3.pre.autoload db/migrate/20150219173821_create_module_runs.rb
metasploit_data_models-0.23.2 db/migrate/20150219173821_create_module_runs.rb
metasploit_data_models-0.23.2-java db/migrate/20150219173821_create_module_runs.rb