mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 22:36:32 +00:00
14 lines
309 B
TypeScript
14 lines
309 B
TypeScript
|
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;
|
||
|
}
|
||
|
}
|