Class: CreateBannerPages
- Inherits:
-
ActiveRecord::Migration
- Object
- ActiveRecord::Migration
- CreateBannerPages
- Defined in:
- lib/generators/dummy/templates/migrations/create_banner_pages.rb
Instance Method Summary collapse
Instance Method Details
#change ⇒ Object
2 3 4 5 6 7 8 9 10 |
# File 'lib/generators/dummy/templates/migrations/create_banner_pages.rb', line 2 def change create_table :banner_pages do |t| t.text :intro_text_html t.string :top_banner_uid t.string :bottom_banner_uid t.(null: false) end end |