Sha256: 67f7bf9fc238e076c4eb3ba1c4e37d1c2f2be4d6fd0dafcf95e678365c8089d8
Contents?: true
Size: 824 Bytes
Versions: 9
Compression:
Stored size: 824 Bytes
Contents
class CreateAdvertSelectorBanners < ActiveRecord::Migration def change create_table :advert_selector_banners do |t| t.string :name, :null => false t.datetime :start_time t.datetime :end_time t.integer :priority, :null => false, :default => 0 t.integer :target_view_count t.integer :running_view_count, :null => false, :default => 0 t.integer :frequency t.boolean :fast_mode, :null => false, :default => false t.text :comment t.boolean :confirmed, :null => false, :default => false t.integer :placement_id, :null => false #t.boolean :in_serve_cache, :null => false, :default => false t.timestamps end #add_index(:advert_selector_banners, [:in_serve_cache, :priority]) add_index(:advert_selector_banners, [:end_time]) end end
Version data entries
9 entries across 9 versions & 1 rubygems