            >>> { self.db.run(update, withArgs: args) }
            >>> { self.markMirrorAsOverridden(guid) }
            >>> { self.db.run(insert, withArgs: args) }
-    }
-
+           >>> effect(self.notifyLoginDidChange)
+    }
 
     public func removeAll() -> Success {
         // Immediately delete anything that's marked as new -- i.e., it's never reached

           >>> { self.db.run(update) }
           >>> { self.db.run("UPDATE \(TableLoginsMirror) SET is_overridden = 1") }
           >>> { self.db.run(insert) }
    }
}


        >>> { self.db.run("UPDATE \(TableLoginsLocal) SET sync_status = \(SyncStatus.New.rawValue)") }
    }
}

extension SQLiteLogins {
    func notifyLoginDidChange() {
        log.debug("Notifying login did change.")

        // For now we don't care about the contents.
        // This posts immediately to the shared notification center.
        let notification = NSNotification(name: NotificationDataLoginDidChange, object: nil)
        NSNotificationCenter.defaultCenter().postNotification(notification)
    }
}
