mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-05-05 13:39:24 +08:00
* test: string includes operator * chore: operator test coverage * chore: database utils test * chore: acl test * chore: no permission error * chore: code * fix: run coverage test * chore: datasource test * chore: datasource test * chore: datasource test * chore: datasource test * chore: datasource test * chore: datasource * fix: build * chore: plugin data source manager test * chore: acl test * chore: query interface test * chore: ui schema storage test * chore: save template test * chore: ui schema insert position action * chore: ignore migration * chore: plugin acl test * chore: ignore command in coverage * chore: ignore * chore: remove db2resource * chore: ignore migration * chore: ipc server test * chore: database test * chore: database api comments * chore: value parser test * chore: build * chore: backup & restore test * chore: plugin manager test * chore: pm * chore: pm ignore * chore: skip migration * chore: remove unused code * fix: import * chore: remove unused code * chore: remove unused code * fix: action test * chore: data wrapping middleware * fix: build * fix: build * fix: build * test: fix T-4105 * chore: test * fix: data-source-manager test * fix: sql collection test * fix: test * fix: test * fix: test * fix: typo * chore: datasource manager test * chore: console.log --------- Co-authored-by: xilesun <2013xile@gmail.com>
25 lines
529 B
TypeScript
25 lines
529 B
TypeScript
/* istanbul ignore file -- @preserve */
|
|
|
|
import { Migration as DbMigration } from '@nocobase/database';
|
|
import Application from './application';
|
|
import Plugin from './plugin';
|
|
import { PluginManager } from './plugin-manager';
|
|
|
|
export class Migration extends DbMigration {
|
|
appVersion = '';
|
|
pluginVersion = '';
|
|
on = 'afterLoad';
|
|
|
|
get app() {
|
|
return this.context.app as Application;
|
|
}
|
|
|
|
get pm() {
|
|
return this.context.app.pm as PluginManager;
|
|
}
|
|
|
|
get plugin() {
|
|
return this.context.plugin as Plugin;
|
|
}
|
|
}
|