mirror of
https://gitee.com/nocobase/nocobase.git
synced 2024-12-02 12:18:15 +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.query(`DROP DATABASE IF EXISTS ${externalDB}`);
|
||||
await client.query(`CREATE DATABASE ${externalDB}`);
|
||||
await client.query(`DROP DATABASE IF EXISTS "${externalDB}"`);
|
||||
await client.query(`CREATE DATABASE "${externalDB}"`);
|
||||
await client.end();
|
||||
|
||||
// import sql import external database
|
||||
|
Loading…
Reference in New Issue
Block a user