mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-05-06 14:09:25 +08:00
chore(data-vi): remove addMigrations
(#4713)
This commit is contained in:
parent
e2a22d4c26
commit
d7733ed363
@ -28,14 +28,6 @@ export class PluginDataVisualizationServer extends Plugin {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async load() {
|
async load() {
|
||||||
this.db.addMigrations({
|
|
||||||
namespace: 'data-visulization',
|
|
||||||
directory: resolve(__dirname, 'migrations'),
|
|
||||||
context: {
|
|
||||||
plugin: this,
|
|
||||||
},
|
|
||||||
});
|
|
||||||
|
|
||||||
this.cache = await this.app.cacheManager.createCache({
|
this.cache = await this.app.cacheManager.createCache({
|
||||||
name: 'data-visualization',
|
name: 'data-visualization',
|
||||||
store: 'memory',
|
store: 'memory',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user