mysql key length
This commit is contained in:
parent
18429c5e78
commit
ed6a77a55d
|
@ -55,7 +55,7 @@ const SCHEMA = {
|
||||||
class MySQLIntegration {
|
class MySQLIntegration {
|
||||||
constructor(config) {
|
constructor(config) {
|
||||||
this.config = config
|
this.config = config
|
||||||
if (Object.keys(config.ssl) === 0) {
|
if (Object.keys(config.ssl).length === 0) {
|
||||||
delete config.ssl
|
delete config.ssl
|
||||||
}
|
}
|
||||||
this.client = mysql.createConnection(config)
|
this.client = mysql.createConnection(config)
|
||||||
|
|
Loading…
Reference in New Issue