Files
grecia/db/migrate/20160108133501_add_notifications_counter_cache_to_user.rb
2016-01-08 14:39:34 +01:00

6 lines
156 B
Ruby

class AddNotificationsCounterCacheToUser < ActiveRecord::Migration
def change
add_column :users, :notifications_count, :integer, default: 0
end
end