Sha256: 21d3c83d412c7b53e8f8f23f877ce835a18b23b43645fe6f2f36106ccd9bb83f
Contents?: true
Size: 359 Bytes
Versions: 32
Compression:
Stored size: 359 Bytes
Contents
class CreateActivities < ActiveRecord::Migration def self.up create_table :activities do |t| t.string :activity_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 :activities end end
Version data entries
32 entries across 32 versions & 1 rubygems