Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 7ea9f7c7a4
Fetching contributors…

Cannot retrieve contributors at this time

16 lines (12 sloc) 0.37 kb
class CreateTimelineEvents < ActiveRecord::Migration
def self.up
create_table :timeline_events do |t|
t.string :event_type, :subject_type, :actor_type, :secondary_subject_type
t.integer :subject_id, :actor_id, :secondary_subject_id
t.timestamps
end
end
def self.down
drop_table :timeline_events
end
end
Jump to Line
Something went wrong with that request. Please try again.