Bug 1253439 - Don't violate foreign key constraints when wiping the buffer. r=nalexander
Bug 1253439 - Don't violate foreign key constraints when wiping the buffer. r=nalexander

And similarly be safer when flattening the mirror into local.

sharath-cliqz/browser-ios,cliqz-oss/browser-ios,cliqz-oss/browser-ios,cliqz-oss/browser-ios,cliqz-oss/browser-ios,cliqz-oss/browser-ios,cliqz-oss/browser-ios,sharath-cliqz/browser-ios,sharath-cliqz/browser-ios,sharath-cliqz/browser-ios,sharath-cliqz/browser-ios,cliqz-oss/browser-ios,sharath-cliqz/browser-ios,sharath-cliqz/browser-ios,cliqz-oss/browser-ios,sharath-cliqz/browser-ios