discourse/db/migrate/20141008181228_add_required_signup_to_user_fields.rb

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