             SugarRecordLogger.logLevelInfo.log("Will recreate store")
             self.persistentStoreCoordinator!.addPersistentStoreWithType(NSSQLiteStoreType, configuration: nil, URL: self.databasePath, options: DefaultCDStack.defaultStoreOptions(), error: &error)
             SugarRecordLogger.logLevelInfo.log("Did recreate store")
+            self.migrationFailedClosure()
             error = nil
         }
         else {

    public var stackDescription: String = "Default core data stack with an efficient context management"
    public let defaultStoreName: String = "sugar.sqlite"
    public var stackType: SugarRecordStackType = SugarRecordStackType.SugarRecordStackTypeCoreData
    internal var managedObjectModel: NSManagedObjectModel?
    internal var databasePath: NSURL?
    internal var automigrating: Bool

        self.automigrating = automigrating
        self.databasePath = databaseURL
        self.managedObjectModel = model
        self.migrationFailedClosure = {}
    }
    
    /**
