discourse/db/migrate/20210625203049_add_flair_group_id_to_users.rb
Bianca Nenciu 87c1e98571
FEATURE: Let users select flair (#13587)
User flair was given by user's primary group. This PR separates the
two, adds a new field to the user model for flair group ID and users
can select their flair from user preferences now.
2021-07-08 10:46:21 +03:00

8 lines
175 B
Ruby

# frozen_string_literal: true
class AddFlairGroupIdToUsers < ActiveRecord::Migration[6.1]
def change
add_column :users, :flair_group_id, :integer, null: true
end
end