Class: CreateTramwayEventPlaces
- Inherits:
-
Object
- Object
- CreateTramwayEventPlaces
- Defined in:
- lib/tramway/event/generators/templates/create_tramway_event_places.rb
Instance Method Summary collapse
Instance Method Details
#change ⇒ Object
4 5 6 7 8 9 10 11 12 13 14 15 |
# File 'lib/tramway/event/generators/templates/create_tramway_event_places.rb', line 4 def change create_table :tramway_event_places do |t| t.text :title t.text :description t.point :coordinates t.text :photo t.text :city t.text :state, default: :active t. end end |