Skip to content

Commit 9f480dc

Browse files
chore(docs): fix schema links (#451)
1 parent c06ab00 commit 9f480dc

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

docs/index.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ You’ll now have a `postgrestools.jsonc` file in your directory:
9090

9191
```json
9292
{
93-
"$schema": "https://pgtools.dev/schemas/0.0.0/schema.json",
93+
"$schema": "https://pgtools.dev/latest/schema.json",
9494
"vcs": {
9595
"enabled": false,
9696
"clientKind": "git",
@@ -121,6 +121,8 @@ You’ll now have a `postgrestools.jsonc` file in your directory:
121121

122122
Make sure to edit the database connection settings to connect to your local development database. To see all options, run `postgrestools --help`.
123123

124+
You can use your current `postgrestools` version instead of "latest" in the `$schema` URL, e.g. `https://pgtools.dev/0.8.1/schema.json`.
125+
124126
## Usage
125127

126128
You can use Postgres Tools via the command line or a using a code editor that supports an LSP.

postgrestools.jsonc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"$schema": "./docs/schemas/latest/schema.json",
2+
"$schema": "./docs/schema.json",
33
"vcs": {
44
"enabled": false,
55
"clientKind": "git",

0 commit comments

Comments
 (0)