fix(plugin-multi-app-manager): fix pg cannot create database block tests (#486)
This commit is contained in:
parent
78071b4cd8
commit
892a772988
@ -52,10 +52,11 @@ export class ApplicationModel extends Model {
|
|||||||
const { Client } = require('pg');
|
const { Client } = require('pg');
|
||||||
|
|
||||||
const client = new Client({
|
const client = new Client({
|
||||||
user: username,
|
|
||||||
host,
|
host,
|
||||||
password: password,
|
|
||||||
port,
|
port,
|
||||||
|
user: username,
|
||||||
|
password,
|
||||||
|
database: 'postgres'
|
||||||
});
|
});
|
||||||
|
|
||||||
await client.connect();
|
await client.connect();
|
||||||
|
Loading…
Reference in New Issue
Block a user