From 14ab07bc59c8a40402a16a5c4d1165e5f833946c Mon Sep 17 00:00:00 2001 From: Shujat Khalid Date: Fri, 22 Sep 2023 08:44:51 +0100 Subject: [PATCH] linting fix --- ...82209_change_subject_limited_to_not_null_in_countries.rb | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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