diff --git a/packages/presets/nocobase/src/index.ts b/packages/presets/nocobase/src/index.ts index 302eaa1e2..d1c326d25 100644 --- a/packages/presets/nocobase/src/index.ts +++ b/packages/presets/nocobase/src/index.ts @@ -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`);