Class: CreateFooters
- Inherits:
-
ActiveRecord::Migration
- Object
- ActiveRecord::Migration
- CreateFooters
- Defined in:
- lib/generators/cms/templates/migrations/create_footers.rb
Instance Method Summary collapse
Instance Method Details
#change ⇒ Object
2 3 4 5 6 7 8 9 10 11 |
# File 'lib/generators/cms/templates/migrations/create_footers.rb', line 2 def change create_table :footers do |t| t.string :block_1 t.string :block_2 t.string :block_3 t.integer :active t. end end |