Eliminate three-state boolean

This commit is contained in:
Artur Beljajev 2018-08-24 13:33:39 +03:00
parent 7ccd662d60
commit cc0a6c229f
2 changed files with 8 additions and 1 deletions

View file

@ -0,0 +1,5 @@
class ChangeNotificationsReadToNotNull < ActiveRecord::Migration
def change
change_column_null :notifications, :read, false
end
end