diff --git a/db/migrate/20230921082209_change_subject_limited_to_not_null_in_countries.rb b/db/migrate/20230921082209_change_subject_limited_to_not_null_in_countries.rb index ae5b018b39..5f14c68348 100644 --- a/db/migrate/20230921082209_change_subject_limited_to_not_null_in_countries.rb +++ b/db/migrate/20230921082209_change_subject_limited_to_not_null_in_countries.rb @@ -1,9 +1,5 @@ class ChangeSubjectLimitedToNotNullInCountries < ActiveRecord::Migration[7.0] def change - change_column :countries, - :subject_limited, - :boolean, - default: false, - null: false + change_column_null :countries, :subject_limited, false end end