Change domains.valid_to DB column to NOT NULL

#800
This commit is contained in:
Artur Beljajev 2018-03-31 23:31:40 +03:00
parent 5ef56e13e0
commit c675512b22
8 changed files with 14 additions and 6 deletions

View file

@ -0,0 +1,5 @@
class ChangeDomainsValidToToNotNull < ActiveRecord::Migration
def change
change_column_null :domains, :valid_to, false
end
end