                         
                         if (!isModelCompatible)
                         {
-                            options = self.autoMigrationOptions_DELETE();
+                            options = self.autoMigrationWithJournalMode("DELETE")
                         }
                     }
                 }

        }
    }
    
    internal func autoMigrationOptions_WAL() -> Dictionary<NSObject, AnyObject>
    {
        
        var sqliteOptions = Dictionary<NSObject, AnyObject>()
        sqliteOptions["journal_mode"] = "WAL"
        
        var persistentStoreOptions = Dictionary<NSObject, AnyObject>()
        persistentStoreOptions[NSMigratePersistentStoresAutomaticallyOption] = true
        persistentStoreOptions[NSInferMappingModelAutomaticallyOption] = true
        persistentStoreOptions[NSSQLitePragmasOption] = sqliteOptions
        return persistentStoreOptions
    }
    
    internal func autoMigrationOptions_DELETE() -> Dictionary<NSObject, AnyObject>
    {
        
        var sqliteOptions = Dictionary<NSObject, AnyObject>()
        sqliteOptions["journal_mode"] = "DELETE"
        
        var persistentStoreOptions = Dictionary<NSObject, AnyObject>()
        persistentStoreOptions[NSMigratePersistentStoresAutomaticallyOption] = true

    internal func addSqliteStore(storeURL: NSURL, configuration: String?, completion: MCCoreDataAsyncCompletion?) -> Bool
    {
        
        var options = self.autoMigrationWithJournalMode("WAL")
        
        self.createPathToStoreFileIfNeccessary(storeURL);
        
