fix: version judgment is not accurate
This commit is contained in:
parent
929a4f848a
commit
3e6d1a3427
@ -1,6 +1,6 @@
|
|||||||
import { Migration } from '@nocobase/server';
|
import { Migration } from '@nocobase/server';
|
||||||
|
|
||||||
export default class AlertSubTableMigration extends Migration {
|
export default class AddUsersPhoneMigration extends Migration {
|
||||||
async up() {
|
async up() {
|
||||||
const match = await this.app.version.satisfies('<=0.7.4-alpha.7');
|
const match = await this.app.version.satisfies('<=0.7.4-alpha.7');
|
||||||
if (!match) {
|
if (!match) {
|
||||||
|
Loading…
Reference in New Issue
Block a user