diaspora/db/migrate/20180406235521_remove_contacts_visible_from_aspects.rb
Benjamin Neff 4fa92c1823
Remove flag for contacts visible to each other
This feature only worked on the same pod and was more confusing than
useful.
2018-04-12 01:39:11 +02:00

8 lines
326 B
Ruby

# frozen_string_literal: true
class RemoveContactsVisibleFromAspects < ActiveRecord::Migration[5.1]
def change
remove_index :aspects, column: %i[user_id contacts_visible], name: :index_aspects_on_user_id_and_contacts_visible
remove_column :aspects, :contacts_visible, :boolean, default: true, null: false
end
end