Retrospring/db/migrate/20230203054229_enable_allow...

10 lines
239 B
Ruby

class EnableAllowLongQuestionsByDefault < ActiveRecord::Migration[6.1]
def up
change_column_default :profiles, :allow_long_questions, true
end
def down
change_column_default :profiles, :allow_long_questions, false
end
end