add metadata field to channels

This commit is contained in:
Lee Lawlor
2014-06-30 13:16:22 -04:00
parent 0cf413c724
commit 0f0ff33b54
22 changed files with 154 additions and 15 deletions

View File

@ -0,0 +1,6 @@
class AddMetadataToChannels < ActiveRecord::Migration
def change
add_column :channels, :metadata, :text
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: 20140516162515) do
ActiveRecord::Schema.define(version: 20140630153108) do
create_table "active_admin_comments", force: true do |t|
t.string "namespace"
@ -104,6 +104,7 @@ ActiveRecord::Schema.define(version: 20140516162515) do
t.integer "ranking"
t.string "user_agent"
t.string "realtime_io_serial_number", limit: 36
t.text "metadata"
end
add_index "channels", ["public_flag", "last_entry_id", "updated_at"], name: "channels_public_viewable", using: :btree