class AddMoreFieldsToTramwayEventParticipants

Public Instance Methods

change() click to toggle source
# File lib/tramway/event/generators/templates/add_more_fields_to_tramway_event_participants.rb, line 4
def change
  add_column :tramway_event_participants, :participation_state, :text, default: :requested
  add_column :tramway_event_participants, :comment, :text
end