fix: version check error
This commit is contained in:
		
							parent
							
								
									a66793282f
								
							
						
					
					
						commit
						6f23174389
					
				@ -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;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user