From f89d57e17a540ef907b11a79ba6c8681874d465c Mon Sep 17 00:00:00 2001 From: Yoan VALLET <ext.sopra.yvallet@grandlyon.com> Date: Tue, 11 Jan 2022 15:24:10 +0100 Subject: [PATCH] fix: handle correctly the migration schema version --- src/migrations/migration.data.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/migrations/migration.data.ts b/src/migrations/migration.data.ts index d6746523a..a2c26e915 100644 --- a/src/migrations/migration.data.ts +++ b/src/migrations/migration.data.ts @@ -423,8 +423,8 @@ export const migrations: Migration[] = [ }, }, { - baseSchemaVersion: 15, - targetSchemaVersion: 16, + baseSchemaVersion: 14, + targetSchemaVersion: 15, appVersion: '1.6.1', description: 'Remove wrong price for Enedis year', releaseNotes: null, @@ -444,8 +444,8 @@ export const migrations: Migration[] = [ }, }, { - baseSchemaVersion: 17, - targetSchemaVersion: 18, + baseSchemaVersion: 15, + targetSchemaVersion: 16, appVersion: '1.6.1', description: 'Remove wrong price for GRDF month', releaseNotes: null, @@ -465,8 +465,8 @@ export const migrations: Migration[] = [ }, }, { - baseSchemaVersion: 18, - targetSchemaVersion: 19, + baseSchemaVersion: 16, + targetSchemaVersion: 17, appVersion: '1.6.1', description: 'Remove wrong price for GRDF year', releaseNotes: null, -- GitLab