fix: version check error

This commit is contained in:
chenos 2023-02-22 10:32:53 +08:00
parent a66793282f
commit 6f23174389

View File

@ -2,7 +2,7 @@ import { Migration } from '@nocobase/server';
export default class extends Migration { export default class extends Migration {
async up() { async up() {
const result = await this.app.version.satisfies('<=0.9.0-alpha.2'); const result = await this.app.version.satisfies('<=0.9.0-alpha.3');
if (!result) { if (!result) {
return; return;
} }