mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 10:17:00 +00:00
fix: db sync before app upgrade
This commit is contained in:
parent
e481c2b59b
commit
627a8b264b
@ -84,6 +84,7 @@ export class PresetNocoBase extends Plugin {
|
||||
{},
|
||||
);
|
||||
await this.app.reload();
|
||||
await this.app.db.sync();
|
||||
});
|
||||
this.app.on('beforeInstall', async () => {
|
||||
console.log(`Initialize all built-in plugins`);
|
||||
|
Loading…
Reference in New Issue
Block a user