Class: AddMoreFieldsToTramwayEventParticipants
- Inherits:
-
Object
- Object
- AddMoreFieldsToTramwayEventParticipants
- Defined in:
- lib/tramway/event/generators/templates/add_more_fields_to_tramway_event_participants.rb
Instance Method Summary collapse
Instance Method Details
#change ⇒ Object
4 5 6 7 |
# 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 |