-
Notifications
You must be signed in to change notification settings - Fork 141
/
sql-language-server.schema.json
60 lines (60 loc) · 1.74 KB
/
sql-language-server.schema.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
{
"properties": {
"personalConfig": {
"connections": {
"type": "array",
"default": [
{
"name": "default sqlite3 connection",
"adapter": "sqlite3",
"filename": ":memory:",
"projectPaths": ["."]
}
],
"items": {
"type": "object",
"properties": {
"name": {
"description": "Connection name (free-form text)",
"type": "string"
},
"adapter": {
"description": "Database type",
"type": "string",
"enum": ["mysql", "postgresql", "postgres", "sqlite3"]
},
"host": {
"description": "Database host",
"type": "string"
},
"port": {
"description": "Database port",
"type": "number"
},
"user": {
"description": "Database user",
"type": "string"
},
"database": {
"description": "Database name",
"type": "string"
},
"password": {
"description": "Database password",
"type": "string"
},
"filename": {
"description": "Database filename - only for sqlite3 (required); use ':memory:' for in-memory database",
"type": "string"
},
"projectPaths": {
"description": "Project path that you want to apply (if you don't set it configuration will not apply automatically when lsp's started up)",
"type": "array",
"items": { "type": "string" }
}
}
}
}
}
}
}