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