discourse/db/migrate/20141008181228_add_required...

6 lines
167 B
Ruby

class AddRequiredSignupToUserFields < ActiveRecord::Migration[4.2]
def change
add_column :user_fields, :required, :boolean, default: true, null: false
end
end