ba48a1da6e
* Add Follow.unfollowed_at * Change the unicity constraint to gestionnaire/dossier AND unfollowed_at
8 lines
325 B
Ruby
8 lines
325 B
Ruby
class EnsureFollowDatesNotNull < ActiveRecord::Migration[5.2]
|
|
def change
|
|
change_column_null :follows, :demande_seen_at, false
|
|
change_column_null :follows, :annotations_privees_seen_at, false
|
|
change_column_null :follows, :avis_seen_at, false
|
|
change_column_null :follows, :messagerie_seen_at, false
|
|
end
|
|
end
|