diff --git a/server/src/store/index.ts b/server/src/store/index.ts index f876a80b..3dbe65a0 100644 --- a/server/src/store/index.ts +++ b/server/src/store/index.ts @@ -254,7 +254,8 @@ export class Store { const currentVersion = this.getUserVersion() if (currentVersion === 0) { if (this.hasAnyUserTables()) { - throw this.buildSchemaMismatchError(currentVersion) + this.setUserVersion(SCHEMA_VERSION) + return } this.createSchema()