mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 07:38:13 +00:00
fix: do not drop all tables
This commit is contained in:
parent
c5f639338f
commit
7e59e275e0
@ -3,8 +3,6 @@ import CollectionManagerPlugin from '..';
|
||||
|
||||
export async function createApp() {
|
||||
const app = mockServer();
|
||||
const queryInterface = app.db.sequelize.getQueryInterface();
|
||||
await queryInterface.dropAllTables();
|
||||
app.plugin(CollectionManagerPlugin);
|
||||
await app.load();
|
||||
return app;
|
||||
|
Loading…
Reference in New Issue
Block a user