fix: version judgment is not accurate

This commit is contained in:
chenos 2022-10-14 09:47:28 +08:00
parent 929a4f848a
commit 3e6d1a3427

View File

@ -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) {