|
11 | 11 | #
|
12 | 12 | # It's strongly recommended to check this file into your version control system.
|
13 | 13 |
|
14 |
| -ActiveRecord::Schema.define(:version => 20150312155312) do |
| 14 | +ActiveRecord::Schema.define(:version => 20150326183742) do |
15 | 15 |
|
16 | 16 | create_table "api_keys", :force => true do |t|
|
17 | 17 | t.text "token"
|
|
27 | 27 | t.datetime "updated_at", :null => false
|
28 | 28 | end
|
29 | 29 |
|
| 30 | + add_index "automatic_exploitation_match_results", ["match_id"], :name => "index_automatic_exploitation_match_results_on_match_id" |
| 31 | + add_index "automatic_exploitation_match_results", ["run_id"], :name => "index_automatic_exploitation_match_results_on_run_id" |
| 32 | + |
30 | 33 | create_table "automatic_exploitation_match_sets", :force => true do |t|
|
31 | 34 | t.integer "workspace_id"
|
32 | 35 | t.integer "user_id"
|
|
60 | 63 | t.datetime "updated_at", :null => false
|
61 | 64 | end
|
62 | 65 |
|
| 66 | + add_index "automatic_exploitation_runs", ["match_set_id"], :name => "index_automatic_exploitation_runs_on_match_set_id" |
| 67 | + add_index "automatic_exploitation_runs", ["user_id"], :name => "index_automatic_exploitation_runs_on_user_id" |
| 68 | + add_index "automatic_exploitation_runs", ["workspace_id"], :name => "index_automatic_exploitation_runs_on_workspace_id" |
| 69 | + |
63 | 70 | create_table "clients", :force => true do |t|
|
64 | 71 | t.integer "host_id"
|
65 | 72 | t.datetime "created_at"
|
|
143 | 150 |
|
144 | 151 | create_table "hosts", :force => true do |t|
|
145 | 152 | t.datetime "created_at"
|
146 |
| - t.string "address", :null => false |
| 153 | + t.string "address", :limit => nil, :null => false |
147 | 154 | t.string "mac"
|
148 | 155 | t.string "comm"
|
149 | 156 | t.string "name"
|
|
407 | 414 | t.datetime "attempted_at"
|
408 | 415 | t.text "fail_detail"
|
409 | 416 | t.string "fail_reason"
|
410 |
| - t.integer "module_detail_id" |
411 |
| - t.text "module_full_name" |
| 417 | + t.text "module_fullname" |
412 | 418 | t.integer "port"
|
413 | 419 | t.string "proto"
|
414 | 420 | t.integer "session_id"
|
|
417 | 423 | t.string "trackable_type"
|
418 | 424 | t.integer "user_id"
|
419 | 425 | t.string "username"
|
420 |
| - t.datetime "created_at", :null => false |
421 |
| - t.datetime "updated_at", :null => false |
| 426 | + t.datetime "created_at", :null => false |
| 427 | + t.datetime "updated_at", :null => false |
422 | 428 | end
|
423 | 429 |
|
| 430 | + add_index "module_runs", ["session_id"], :name => "index_module_runs_on_session_id" |
| 431 | + add_index "module_runs", ["user_id"], :name => "index_module_runs_on_user_id" |
| 432 | + |
424 | 433 | create_table "module_targets", :force => true do |t|
|
425 | 434 | t.integer "detail_id"
|
426 | 435 | t.integer "index"
|
|
753 | 762 |
|
754 | 763 | create_table "wmap_requests", :force => true do |t|
|
755 | 764 | t.string "host"
|
756 |
| - t.string "address" |
| 765 | + t.string "address", :limit => nil |
757 | 766 | t.integer "port"
|
758 | 767 | t.integer "ssl"
|
759 | 768 | t.string "meth", :limit => 32
|
|
770 | 779 |
|
771 | 780 | create_table "wmap_targets", :force => true do |t|
|
772 | 781 | t.string "host"
|
773 |
| - t.string "address" |
| 782 | + t.string "address", :limit => nil |
774 | 783 | t.integer "port"
|
775 | 784 | t.integer "ssl"
|
776 | 785 | t.integer "selected"
|
|
0 commit comments