discourse/db/migrate/20130508040235_add_user_cou...

8 lines
183 B
Ruby

# frozen_string_literal: true
class AddUserCountToGroups < ActiveRecord::Migration[4.2]
def change
add_column :groups, :user_count, :integer, null: false, default: 0
end
end