feat(接口测试): 支持 postgresql

This commit is contained in:
chenjianxing 2020-09-17 13:03:33 +08:00
parent 8ca36bd18f
commit d4439f01ad
2 changed files with 7 additions and 1 deletions

View File

@ -177,6 +177,12 @@
<version>7.4.1.jre8</version>
</dependency>
<dependency>
<groupId>org.postgresql</groupId>
<artifactId>postgresql</artifactId>
<version>42.2.14</version>
</dependency>
<!-- Zookeeper -->
<dependency>

View File

@ -546,7 +546,7 @@ export class ConfigCenter extends BaseConfig {
}
export class DatabaseConfig extends BaseConfig {
static DRIVER_CLASS = ["com.mysql.jdbc.Driver","com.microsoft.sqlserver.jdbc.SQLServerDriver"];
static DRIVER_CLASS = ["com.mysql.jdbc.Driver", "com.microsoft.sqlserver.jdbc.SQLServerDriver", "org.postgresql.Driver"];
constructor(options) {
super();