Class: CreateTramwayEventParticipants
- Inherits:
-
Object
- Object
- CreateTramwayEventParticipants
- Defined in:
- lib/tramway/event/generators/templates/create_tramway_event_participants.rb
Instance Method Summary collapse
Instance Method Details
#change ⇒ Object
4 5 6 7 8 9 10 11 12 |
# File 'lib/tramway/event/generators/templates/create_tramway_event_participants.rb', line 4 def change create_table :tramway_event_participants do |t| t.integer :event_id t.jsonb :values t.text :state, default: :active t. end end |