Sha256: bede26bb15fe8d5d5eecb5366323eeb0821b44e6b2ca0e4b775e5026fa284330
Contents?: true
Size: 451 Bytes
Versions: 9
Compression:
Stored size: 451 Bytes
Contents
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
9 entries across 9 versions & 1 rubygems