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

@ -1,3 +1,22 @@
# == Schema Information
#
# Table name: admin_users
#
# id :integer not null, primary key
# email :string(255) default(""), not null
# encrypted_password :string(255) default(""), not null
# reset_password_token :string(255)
# reset_password_sent_at :datetime
# remember_created_at :datetime
# sign_in_count :integer default(0), not null
# current_sign_in_at :datetime
# last_sign_in_at :datetime
# current_sign_in_ip :string(255)
# last_sign_in_ip :string(255)
# created_at :datetime
# updated_at :datetime
#
class AdminUser < ActiveRecord::Base
# Include default devise modules. Others available are:
# :token_authenticatable, :encryptable, :confirmable, :lockable, :timeoutable and :omniauthable

View File

@ -45,6 +45,7 @@
# video_type :string(255)
# clearing :boolean default(FALSE), not null
# ranking :integer
# user_agent :string(255)
#
class Channel < ActiveRecord::Base

View File

@ -23,6 +23,7 @@
# remember_created_at :datetime
# sign_in_count :integer default(0), not null
# authentication_token :string(255)
# terms_agreed_at :datetime
#
####### NOTE #######