|
11 | 11 | #
|
12 | 12 | # It's strongly recommended to check this file into your version control system.
|
13 | 13 |
|
14 |
| -ActiveRecord::Schema.define(:version => 20130604145732) do |
| 14 | +ActiveRecord::Schema.define(:version => 20130717150737) do |
15 | 15 |
|
16 | 16 | create_table "api_keys", :force => true do |t|
|
17 | 17 | t.text "token"
|
18 | 18 | t.datetime "created_at", :null => false
|
19 | 19 | t.datetime "updated_at", :null => false
|
20 | 20 | end
|
21 | 21 |
|
22 |
| - create_table "attachments", :force => true do |t| |
23 |
| - t.string "name", :limit => 512 |
24 |
| - t.binary "data" |
25 |
| - t.string "content_type", :limit => 512 |
26 |
| - t.boolean "inline", :default => true, :null => false |
27 |
| - t.boolean "zip", :default => false, :null => false |
28 |
| - t.integer "campaign_id" |
29 |
| - end |
30 |
| - |
31 |
| - create_table "attachments_email_templates", :id => false, :force => true do |t| |
32 |
| - t.integer "attachment_id" |
33 |
| - t.integer "email_template_id" |
34 |
| - end |
35 |
| - |
36 |
| - create_table "campaigns", :force => true do |t| |
37 |
| - t.integer "workspace_id", :null => false |
38 |
| - t.string "name", :limit => 512 |
39 |
| - t.text "prefs" |
40 |
| - t.integer "status", :default => 0 |
41 |
| - t.datetime "started_at" |
42 |
| - t.datetime "created_at", :null => false |
43 |
| - t.datetime "updated_at", :null => false |
44 |
| - end |
45 |
| - |
46 | 22 | create_table "clients", :force => true do |t|
|
47 | 23 | t.integer "host_id"
|
48 | 24 | t.datetime "created_at"
|
|
65 | 41 | t.string "source_type"
|
66 | 42 | end
|
67 | 43 |
|
68 |
| - create_table "email_addresses", :force => true do |t| |
69 |
| - t.integer "campaign_id", :null => false |
70 |
| - t.string "first_name", :limit => 512 |
71 |
| - t.string "last_name", :limit => 512 |
72 |
| - t.string "address", :limit => 512 |
73 |
| - t.boolean "sent", :default => false, :null => false |
74 |
| - t.datetime "clicked_at" |
75 |
| - end |
76 |
| - |
77 |
| - create_table "email_templates", :force => true do |t| |
78 |
| - t.string "name", :limit => 512 |
79 |
| - t.string "subject", :limit => 1024 |
80 |
| - t.text "body" |
81 |
| - t.integer "parent_id" |
82 |
| - t.integer "campaign_id" |
83 |
| - t.text "prefs" |
84 |
| - end |
85 |
| - |
86 | 44 | create_table "events", :force => true do |t|
|
87 | 45 | t.integer "workspace_id"
|
88 | 46 | t.integer "host_id"
|
|
581 | 539 | add_index "web_sites", ["options"], :name => "index_web_sites_on_options"
|
582 | 540 | add_index "web_sites", ["vhost"], :name => "index_web_sites_on_vhost"
|
583 | 541 |
|
584 |
| - create_table "web_templates", :force => true do |t| |
585 |
| - t.string "name", :limit => 512 |
586 |
| - t.string "title", :limit => 512 |
587 |
| - t.string "body", :limit => 524288 |
588 |
| - t.integer "campaign_id" |
589 |
| - t.text "prefs" |
590 |
| - end |
591 |
| - |
592 | 542 | create_table "web_vulns", :force => true do |t|
|
593 | 543 | t.integer "web_site_id", :null => false
|
594 | 544 | t.datetime "created_at", :null => false
|
595 | 545 | t.datetime "updated_at", :null => false
|
596 | 546 | t.text "path", :null => false
|
597 | 547 | t.string "method", :limit => 1024, :null => false
|
598 | 548 | t.text "params", :null => false
|
599 |
| - t.text "pname", :null => false |
| 549 | + t.text "pname" |
600 | 550 | t.integer "risk", :null => false
|
601 | 551 | t.string "name", :limit => 1024, :null => false
|
602 | 552 | t.text "query"
|
|
0 commit comments