Class: CreateTramwayLandingBlocks
- Inherits:
-
Object
- Object
- CreateTramwayLandingBlocks
- Defined in:
- lib/tramway/landing/generates/templates/create_tramway_landing_blocks.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/landing/generates/templates/create_tramway_landing_blocks.rb', line 4 def change create_table :tramway_landing_blocks do |t| t.text :title t.text :background t.text :block_type t.integer :position t.text :state, default: :active t.text :view_state, default: :hidden t. end end |