Sha256: 40d85b700f212dd289fff42af821b6810a0088bc6faa3e13a40e915dd7d7cc52

Contents?: true

Size: 370 Bytes

Versions: 12

Compression:

Stored size: 370 Bytes

Contents

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
 

Version data entries

12 entries across 12 versions & 7 rubygems

Version Path
timeline_fu_fu-0.5 generators/timeline_fu/templates/migration.rb
giraffesoft-timeline_fu-0.1.1 generators/timeline_fu/templates/migration.rb
giraffesoft-timeline_fu-0.2.0 generators/timeline_fu/templates/migration.rb
giraffesoft-timeline_fu-0.3.0 generators/timeline_fu/templates/migration.rb
mcfearsome-timeline_fu-0.1.2 generators/timeline_fu/templates/migration.rb
mcfearsome-timeline_fu-0.2.0 generators/timeline_fu/templates/migration.rb
mifix-timeline_fu-0.2.0 generators/timeline_fu/templates/migration.rb
seamusabshere-timeline_fu-0.1.1 generators/timeline_fu/templates/migration.rb
seamusabshere-timeline_fu-0.1.2 generators/timeline_fu/templates/migration.rb
seamusabshere-timeline_fu-0.1.3 generators/timeline_fu/templates/migration.rb
notification_fu-0.4.0 generators/notification_fu/templates/migration.rb
timeline_fu-0.3.0 generators/timeline_fu/templates/migration.rb