From 3e6d1a3427d800e1ca543683a9bc8ea8ba4fda18 Mon Sep 17 00:00:00 2001 From: chenos Date: Fri, 14 Oct 2022 09:47:28 +0800 Subject: [PATCH] fix: version judgment is not accurate --- .../users/src/migrations/20220818072639-add-users-phone.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/plugins/users/src/migrations/20220818072639-add-users-phone.ts b/packages/plugins/users/src/migrations/20220818072639-add-users-phone.ts index fb1e86321..765fdba8e 100644 --- a/packages/plugins/users/src/migrations/20220818072639-add-users-phone.ts +++ b/packages/plugins/users/src/migrations/20220818072639-add-users-phone.ts @@ -1,6 +1,6 @@ import { Migration } from '@nocobase/server'; -export default class AlertSubTableMigration extends Migration { +export default class AddUsersPhoneMigration extends Migration { async up() { const match = await this.app.version.satisfies('<=0.7.4-alpha.7'); if (!match) {