Sha256: c230fee3896e2b131b049a76d52af69798fc4ad0481894e57eb1b3a9f57d338d
Contents?: true
Size: 483 Bytes
Versions: 5
Compression:
Stored size: 483 Bytes
Contents
class CreateBestBoyEvents < ActiveRecord::Migration def change create_table :best_boy_events do |t| t.integer :owner_id t.string :owner_type t.string :event t.string :event_source t.timestamps end add_index :best_boy_events, :event add_index :best_boy_events, :event_source add_index :best_boy_events, [:owner_id, :owner_type] add_index :best_boy_events, :owner_id add_index :best_boy_events, :owner_type end end
Version data entries
5 entries across 5 versions & 1 rubygems