Class: CreateTramwayLandingForms
- Inherits:
-
Object
- Object
- CreateTramwayLandingForms
- Defined in:
- lib/tramway/landing/generates/templates/create_tramway_landing_forms.rb
Instance Method Summary collapse
Instance Method Details
#change ⇒ Object
4 5 6 7 8 9 10 11 12 13 14 |
# File 'lib/tramway/landing/generates/templates/create_tramway_landing_forms.rb', line 4 def change create_table :tramway_landing_forms do |t| t.text :title t.text :form_name t.integer :block_id t.integer :position t.text :state, default: :active t. end end |