add user_agent to channels

This commit is contained in:
Lee Lawlor
2014-04-10 14:03:08 -04:00
parent a727752c94
commit 6ff22048b4
8 changed files with 51 additions and 1 deletions

View File

@ -0,0 +1,6 @@
class AddUserAgentToChannels < ActiveRecord::Migration
def change
add_column :channels, :user_agent, :string
end
end

View File

@ -11,7 +11,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema.define(version: 20140320200307) do
ActiveRecord::Schema.define(version: 20140410174033) do
create_table "active_admin_comments", force: true do |t|
t.string "namespace"
@ -102,6 +102,7 @@ ActiveRecord::Schema.define(version: 20140320200307) do
t.string "video_type"
t.boolean "clearing", default: false, null: false
t.integer "ranking"
t.string "user_agent"
end
add_index "channels", ["public_flag", "last_entry_id", "updated_at"], name: "channels_public_viewable", using: :btree