Commit c7c20f9b authored by Steffen van Bergerem's avatar Steffen van Bergerem

Fix only sharing flag for contacts that are receiving

parent bec25085
class FixWrongOnlySharing < ActiveRecord::Migration
def up
Contact.where(sharing: true, receiving: false)
.update_all(receiving: true)
def down
raise ActiveRecord::IrreversibleMigration
......@@ -11,7 +11,7 @@
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema.define(version: 20150220001357) do
ActiveRecord::Schema.define(version: 20150403212139) do
create_table "account_deletions", force: :cascade do |t|
t.string "diaspora_handle", limit: 255
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment