Change registrars.language to NOT NULL and set default to "et"

#640
This commit is contained in:
Artur Beljajev 2017-11-23 06:03:52 +02:00
parent 4b287a3e75
commit 1cd4d2854f
2 changed files with 8 additions and 1 deletions

View file

@ -0,0 +1,5 @@
class ChangeRegistrarLanguageToNotNull < ActiveRecord::Migration
def change
change_column_null :registrars, :language, false, 'et'
end
end