mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-05-05 13:39:24 +08:00
fix(mock-collections): syntax error at or near "-"
This commit is contained in:
parent
de0fb26609
commit
6c431caec4
@ -334,8 +334,8 @@ export class PluginMockCollectionsServer extends Plugin {
|
|||||||
});
|
});
|
||||||
|
|
||||||
await client.connect();
|
await client.connect();
|
||||||
await client.query(`DROP DATABASE IF EXISTS ${externalDB}`);
|
await client.query(`DROP DATABASE IF EXISTS "${externalDB}"`);
|
||||||
await client.query(`CREATE DATABASE ${externalDB}`);
|
await client.query(`CREATE DATABASE "${externalDB}"`);
|
||||||
await client.end();
|
await client.end();
|
||||||
|
|
||||||
// import sql import external database
|
// import sql import external database
|
||||||
|
Loading…
x
Reference in New Issue
Block a user