Sha256: 57608ccc9570230081d8df8b08e083655de1fb0be1a9a894d6bcce7dbe2ccf51

Contents?: true

Size: 260 Bytes

Versions: 4

Compression:

Stored size: 260 Bytes

Contents

class AddSeenAtToGamificationRewards < ActiveRecord::Migration
  def change
    change_table :gamification_rewards do |t|
      t.datetime :seen_at
    end

    add_index :gamification_rewards, :seen_at, name: 'index_gamification_rewards_on_seen_at'
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
gamification-1.0.3 db/migrate/20140318220723_add_seen_at_to_gamification_rewards.rb
gamification-1.0.2 db/migrate/20140318220723_add_seen_at_to_gamification_rewards.rb
gamification-1.0.1 db/migrate/20140318220723_add_seen_at_to_gamification_rewards.rb
gamification-1.0.0 db/migrate/20140318220723_add_seen_at_to_gamification_rewards.rb