discourse/db/migrate/20141008181228_add_required_signup_to_user_fields.rb

6 lines
162 B
Ruby

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