Skip to content

Error on update #1

@jarrodglasgow

Description

@jarrodglasgow

image

When updating to a new version of the database you get this error. The database updates as you would expect it, but it's still logs this error.

It's within this method:

// This method will iterate the versioning scripts and execute them.
- (BOOL)executeUpgradesWithVersions:(NSArray*)versions {
    for (NSNumber *version in versions) {
        [_database open];

        NSString *upgradeScript = [self getUpgradeScriptForVersion:[version doubleValue]];

        NSError *error;
        [_database executeBatchWithSqlScript:upgradeScript outError:&error];
        if (error != nil)
            NSLog(@"Updated failed with error");

        [_database close];
    }

    return true;
}

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions