Skip to content

Commit 8cc7eb4

Browse files
committed
fix(cli): add property to JSON schema
1 parent 86350ab commit 8cc7eb4

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.changeset/clever-plums-protect.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@sql-controller/cli": patch
3+
---
4+
5+
Fix JSON schema

packages/cli/src/utils/self/config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ export const configSchema: JSONSchema7 = {
3939
properties: {
4040
username: { type: "string" },
4141
password: { $ref: "#/definitions/password" },
42+
root: { type: "boolean" },
4243
createDatabase: { type: "boolean" },
4344
createDatabasePermission: { type: "boolean" },
4445
database: { type: "string" },

0 commit comments

Comments
 (0)