docbrown/db/migrate/20180522195341_add_live_columns_to_events.rb
Ben Halpern 8d6b0d868d
Modify and finalize live now for events (#346)
* Add MVP for live events

* Modify and finalize live now for events

* Add profile to front end of live article indicator

* Check for footer container before doing calculations on it
2018-05-23 14:46:46 -04:00

7 lines
235 B
Ruby

class AddLiveColumnsToEvents < ActiveRecord::Migration[5.1]
def change
add_column :events, :live_now, :boolean, default: false
add_column :events, :profile_image, :string
add_column :events, :host_name, :string
end
end