fix(plugin-multi-app-manager): fix pg cannot create database block tests (#486)

This commit is contained in:
Junyi 2022-06-08 13:20:01 +08:00 committed by GitHub
parent 78071b4cd8
commit 892a772988
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -52,10 +52,11 @@ export class ApplicationModel extends Model {
const { Client } = require('pg');
const client = new Client({
user: username,
host,
password: password,
port,
user: username,
password,
database: 'postgres'
});
await client.connect();