mirror of
https://gitee.com/nocobase/nocobase.git
synced 2024-12-01 11:47:51 +08:00
fix(database): remove dropAllTables
This commit is contained in:
parent
405ff75c1b
commit
6bf416d5c4
@ -1,7 +1,7 @@
|
||||
import { mockDatabase } from '../index';
|
||||
import { BelongsToManyRepository } from '../../relation-repository/belongs-to-many-repository';
|
||||
import { Collection } from '@nocobase/database';
|
||||
import Database from '../../database';
|
||||
import { Collection, HasManyRepository } from '@nocobase/database';
|
||||
import { BelongsToManyRepository } from '../../relation-repository/belongs-to-many-repository';
|
||||
import { mockDatabase } from '../index';
|
||||
|
||||
describe('belongs to many with target key', function () {
|
||||
let db: Database;
|
||||
@ -158,7 +158,6 @@ describe('belongs to many', () => {
|
||||
],
|
||||
});
|
||||
|
||||
await db.sequelize.getQueryInterface().dropAllTables();
|
||||
await db.sync({ force: true });
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user