Change registrars.country_code DB column to NOT NULL

#623
This commit is contained in:
Artur Beljajev 2018-02-28 10:49:20 +02:00
parent 70fb91c812
commit f449f1c107
2 changed files with 8 additions and 1 deletions

View file

@ -0,0 +1,5 @@
class ChangeRegistrarsCountryCodeToNotNull < ActiveRecord::Migration
def change
change_column_null :registrars, :country_code, false
end
end