mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 06:55:50 +00: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…
Reference in New Issue
Block a user