Sha256: 203b4db7e9010857e58c35f3e628ab276848602ddd9581d6be3fd7df94dbb214

Contents?: true

Size: 175 Bytes

Versions: 4

Compression:

Stored size: 175 Bytes

Contents

class AddActivityToUser < ActiveRecord::Migration
  def self.up
    add_column :users, :seen_at, :datetime
  end

  def self.down
    remove_column :users, :seen_at
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
zena-1.2.8 bricks/activity/zena/migrate/20130711135905_add_activity_to_user.rb
zena-1.2.7 bricks/activity/zena/migrate/20130711135905_add_activity_to_user.rb
zena-1.2.6 bricks/activity/zena/migrate/20130711135905_add_activity_to_user.rb
zena-1.2.5 bricks/activity/zena/migrate/20130711135905_add_activity_to_user.rb