tachybase_todo/packages/presets/nocobase/src/server/migrations/20240307214623-change-name.ts

15 lines
331 B
TypeScript

import { Migration } from '@nocobase/server';
export default class extends Migration {
on = 'beforeLoad'; // 'beforeLoad' or 'afterLoad'
appVersion = '<0.20.0-alpha.7';
async up() {
await this.pm.repository.destroy({
filter: {
packageName: '@nocobase/plugin-workflow-form-trigger',
},
});
}
}