Skip to content

Commit

Permalink
Merge pull request #331 from AnkushMalik/master
Browse files Browse the repository at this point in the history
Correct schema.rb
  • Loading branch information
David Kang authored Jul 31, 2018
2 parents 9678b6d + d663bbe commit 790db3e
Showing 1 changed file with 0 additions and 26 deletions.
26 changes: 0 additions & 26 deletions db/schema.rb
Original file line number Diff line number Diff line change
Expand Up @@ -55,32 +55,6 @@
t.index ["project_id"], name: "index_episodes_projects_on_project_id"
end

create_table "impressions", id: :integer, options: "ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci", force: :cascade do |t|
t.string "impressionable_type"
t.integer "impressionable_id"
t.integer "user_id"
t.string "controller_name"
t.string "action_name"
t.string "view_name"
t.string "request_hash"
t.string "ip_address"
t.string "session_hash"
t.text "message"
t.text "referrer"
t.text "params"
t.datetime "created_at"
t.datetime "updated_at"
t.index ["controller_name", "action_name", "ip_address"], name: "controlleraction_ip_index"
t.index ["controller_name", "action_name", "request_hash"], name: "controlleraction_request_index"
t.index ["controller_name", "action_name", "session_hash"], name: "controlleraction_session_index"
t.index ["impressionable_type", "impressionable_id", "ip_address"], name: "poly_ip_index"
t.index ["impressionable_type", "impressionable_id", "params"], name: "poly_params_request_index", length: { params: 255 }
t.index ["impressionable_type", "impressionable_id", "request_hash"], name: "poly_request_index"
t.index ["impressionable_type", "impressionable_id", "session_hash"], name: "poly_session_index"
t.index ["impressionable_type", "message", "impressionable_id"], name: "impressionable_type_message_index", length: { message: 255 }
t.index ["user_id"], name: "index_impressions_on_user_id"
end

create_table "keywords", id: :integer, options: "ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci", force: :cascade do |t|
t.text "name"
t.datetime "created_at", null: false
Expand Down

0 comments on commit 790db3e

Please sign in to comment.