nocobase/packages/core/server/src/migration.ts

14 lines
309 B
TypeScript
Raw Normal View History

import { Migration as DbMigration } from '@nocobase/database';
import Application from './application';
import Plugin from './plugin';
export class Migration extends DbMigration {
get app() {
return this.context.app as Application;
}
get plugin() {
return this.context.plugin as Plugin;
}
}