fix(plugin-workflow): fix migration (#3654)
This commit is contained in:
parent
02dcb752cb
commit
0bb0396754
@ -1,7 +1,7 @@
|
||||
import { Migration } from '@nocobase/server';
|
||||
|
||||
export default class extends Migration {
|
||||
appVersion = '<0.20.0-alpha.6';
|
||||
appVersion = '<0.20.0-alpha.7';
|
||||
on = 'afterSync';
|
||||
async up() {
|
||||
const { db } = this.context;
|
@ -2,7 +2,7 @@ import { Migration } from '@nocobase/server';
|
||||
|
||||
export default class extends Migration {
|
||||
on = 'beforeLoad'; // 'beforeLoad' or 'afterLoad'
|
||||
appVersion = '<0.20.0-alpha.6';
|
||||
appVersion = '<0.20.0-alpha.7';
|
||||
|
||||
async up() {
|
||||
await this.pm.repository.destroy({
|
Loading…
Reference in New Issue
Block a user