Sha256: c276e98295d42eecb943f5393e17dd7a853152bdbbaa59dbf58d0430f679380e
Contents?: true
Size: 437 Bytes
Versions: 8
Compression:
Stored size: 437 Bytes
Contents
class CreateRubySyncEvents < ActiveRecord::Migration def self.up create_table :ruby_sync_events do |t| t.column 'timestamp', :time t.column 'event_type', :string, :limit=>8 t.column 'trackable_id', :integer t.column 'trackable_type', :string end add_index :ruby_sync_events, :timestamp end def self.down remove_index :ruby_sync_events, :timestamp drop_table :ruby_sync_events end end
Version data entries
8 entries across 8 versions & 1 rubygems