Sha256: 51dc4862ca977a830f36f61686918691fec4f20ef6a2597312e396d2b2f60549
Contents?: true
Size: 523 Bytes
Versions: 5
Compression:
Stored size: 523 Bytes
Contents
# This migration comes from advert_selector (originally 20120926132649) class CreateAdvertSelectorHelperItems < ActiveRecord::Migration def change create_table :advert_selector_helper_items do |t| t.integer :banner_id #t.references :master, :polymorphic => true t.integer :position t.string :name t.boolean :content_for t.text :content t.timestamps end add_index(:advert_selector_helper_items, [:banner_id, :position], :name => 'index_banner_position') end end
Version data entries
5 entries across 5 versions & 1 rubygems