Sha256: b40dc7f4b8e99dce5e47abab14607582cf446512a16fd0609e9da40f1c8014e3

Contents?: true

Size: 350 Bytes

Versions: 2

Compression:

Stored size: 350 Bytes

Contents

class CreateActivities < ActiveRecord::Migration
  def change
    create_table :activities do |t|
      t.string  :activity_type, null: false
      t.integer :entity_id, null: false
      t.string  :entity_type, null: false
      t.integer :author_id, null: false
      t.string  :author_type, null: false
      
      t.timestamps
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
tekeya-0.0.10 db/migrate/00_create_activities.rb
tekeya-0.0.9 db/migrate/00_create_activities.rb