feat(接口测试): 支持 postgresql
This commit is contained in:
parent
8ca36bd18f
commit
d4439f01ad
|
@ -177,6 +177,12 @@
|
||||||
<version>7.4.1.jre8</version>
|
<version>7.4.1.jre8</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.postgresql</groupId>
|
||||||
|
<artifactId>postgresql</artifactId>
|
||||||
|
<version>42.2.14</version>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
|
|
||||||
<!-- Zookeeper -->
|
<!-- Zookeeper -->
|
||||||
<dependency>
|
<dependency>
|
||||||
|
|
|
@ -546,7 +546,7 @@ export class ConfigCenter extends BaseConfig {
|
||||||
}
|
}
|
||||||
|
|
||||||
export class DatabaseConfig 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) {
|
constructor(options) {
|
||||||
super();
|
super();
|
||||||
|
|
Loading…
Reference in New Issue