class CreateBanners
Public Instance Methods
change()
click to toggle source
# File lib/generators/dummy/templates/migrations/create_banners.rb, line 2 def change create_table :banners do |t| t.integer :banner_group_id t.integer :item_position t.string :image_uid t.string :url t.timestamps(null: false) end end