Update mysqlOptions schema
parent
25f2814e11
commit
538a14338c
|
@ -47,11 +47,15 @@
|
||||||
* @property {*} [commandAliases]
|
* @property {*} [commandAliases]
|
||||||
* @property {number} [port=8890]
|
* @property {number} [port=8890]
|
||||||
* @property {string} [url]
|
* @property {string} [url]
|
||||||
* @property {string} [dbDir]
|
|
||||||
* @property {object} [knex]
|
|
||||||
* @property {string} [logDir]
|
|
||||||
* @property {array} [extraIntents=[]]
|
* @property {array} [extraIntents=[]]
|
||||||
* @property {*} [dbType="sqlite"]
|
* @property {*} [dbType="sqlite"]
|
||||||
* @property {*} [sqliteOptions]
|
* @property {object} [sqliteOptions]
|
||||||
* @property {*} [mysqlOptions]
|
* @property {string} sqliteOptions.filename
|
||||||
|
* @property {object} [mysqlOptions]
|
||||||
|
* @property {string} mysqlOptions.host
|
||||||
|
* @property {number} mysqlOptions.port
|
||||||
|
* @property {string} mysqlOptions.user
|
||||||
|
* @property {string} mysqlOptions.password
|
||||||
|
* @property {string} mysqlOptions.database
|
||||||
|
* @property {string} [mysqlOptions.timezone]
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -282,10 +282,12 @@
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"host": {
|
"host": {
|
||||||
"type": "string"
|
"type": "string",
|
||||||
|
"default": "localhost"
|
||||||
},
|
},
|
||||||
"port": {
|
"port": {
|
||||||
"type": "number"
|
"type": "number",
|
||||||
|
"default": "3306"
|
||||||
},
|
},
|
||||||
"user": {
|
"user": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
|
@ -300,7 +302,7 @@
|
||||||
"type": "string"
|
"type": "string"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": ["user", "password", "database"]
|
"required": ["host", "port", "user", "password", "database"]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"allOf": [
|
"allOf": [
|
||||||
|
|
Loading…
Reference in New Issue