diff --git a/docs/index.md b/docs/index.md index 14490385..842d935e 100644 --- a/docs/index.md +++ b/docs/index.md @@ -90,7 +90,7 @@ You’ll now have a `postgrestools.jsonc` file in your directory: ```json { - "$schema": "https://pgtools.dev/schemas/0.0.0/schema.json", + "$schema": "https://pgtools.dev/latest/schema.json", "vcs": { "enabled": false, "clientKind": "git", @@ -121,6 +121,8 @@ You’ll now have a `postgrestools.jsonc` file in your directory: Make sure to edit the database connection settings to connect to your local development database. To see all options, run `postgrestools --help`. +You can use your current `postgrestools` version instead of "latest" in the `$schema` URL, e.g. `https://pgtools.dev/0.8.1/schema.json`. + ## Usage You can use Postgres Tools via the command line or a using a code editor that supports an LSP. diff --git a/postgrestools.jsonc b/postgrestools.jsonc index 325c7861..47d08c72 100644 --- a/postgrestools.jsonc +++ b/postgrestools.jsonc @@ -1,5 +1,5 @@ { - "$schema": "./docs/schemas/latest/schema.json", + "$schema": "./docs/schema.json", "vcs": { "enabled": false, "clientKind": "git",