fix(tree): migration version

This commit is contained in:
xilesun 2024-08-25 09:37:47 +08:00
parent 6caaaf3303
commit a60c36bcca

View File

@ -14,7 +14,7 @@ import lodash from 'lodash';
export default class extends Migration { export default class extends Migration {
on = 'afterLoad'; // 'beforeLoad' or 'afterLoad' on = 'afterLoad'; // 'beforeLoad' or 'afterLoad'
appVersion = '<=1.3.0-alpha'; appVersion = '<=1.3.0-beta';
async up() { async up() {
await this.db.sequelize.transaction(async (transaction) => { await this.db.sequelize.transaction(async (transaction) => {