From 761cdaca0ff4e7d78ce1664967f68b4174a070e3 Mon Sep 17 00:00:00 2001 From: Julian Date: Sun, 13 Jul 2025 14:32:53 +0200 Subject: [PATCH] update schmemas --- docs/index.md | 4 +++- postgrestools.jsonc | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/index.md b/docs/index.md index 144903857..842d935e0 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 325c7861f..47d08c729 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",