docbrown/db/migrate/20200226192145_add_active_to_broadcasts.rb
Vaidehi Joshi 81e2a5efc3
Add active attribute to Broadcasts (#6318) [deploy]
* Add active attribute to Broadcasts

* Backfill active attribute on Broadcasts
2020-02-26 16:44:27 -05:00

5 lines
144 B
Ruby

class AddActiveToBroadcasts < ActiveRecord::Migration[5.2]
def change
add_column :broadcasts, :active, :boolean, default: false
end
end