Add enabled to event_schedules
To show scheduled events that have been cancelled/withdrawn as 'cancelled', and consequently also show when an event is their replacement. admin/schedules#show does not show events that were scheduled and then cancelled/withdrawn, however a record in event_schedules exists for those events, but event_schedule.enabled = false
This commit is contained in:
parent
4409610a89
commit
4289f699ac
6 changed files with 35 additions and 2 deletions
|
|
@ -0,0 +1,5 @@
|
|||
class AddEnabledToEventSchedules < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :event_schedules, :enabled, :boolean, default: true
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue