Skip to content

Commit 969238f

Browse files
committed
chore: update docs url
1 parent fcbad49 commit 969238f

File tree

3 files changed

+3
-8
lines changed

3 files changed

+3
-8
lines changed

crates/pgt_configuration/src/lib.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -84,10 +84,7 @@ impl PartialConfiguration {
8484
/// Returns the initial configuration.
8585
pub fn init() -> Self {
8686
Self {
87-
// TODO: Update this once we have a static url
88-
schema: Some(format!(
89-
"https://supabase-community.github.io/postgres_lsp/schemas/{VERSION}/schema.json"
90-
)),
87+
schema: Some(format!("https://pgtools.dev/schemas/{VERSION}/schema.json")),
9188
files: Some(PartialFilesConfiguration {
9289
ignore: Some(Default::default()),
9390
..Default::default()

crates/pgt_workspace/src/configuration.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -177,9 +177,7 @@ pub fn create_config(
177177
configuration.schema = schema_path.to_str().map(String::from);
178178
}
179179
} else {
180-
configuration.schema = Some(format!(
181-
"https://supabase-community.github.io/postgres_lsp/schemas/{VERSION}/schema.json"
182-
));
180+
configuration.schema = Some(format!("https://pgtools.dev/schemas/{VERSION}/schema.json"));
183181
}
184182

185183
let contents = serde_json::to_string_pretty(&configuration)

docs/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ After running the `init` command, you’ll have a `postgrestools.jsonc` file in
4141

4242
```json
4343
{
44-
"$schema": "https://supabase-community.github.io/postgres_lsp/schemas/0.0.0/schema.json",
44+
"$schema": "https://pgtools.dev/schemas/0.0.0/schema.json",
4545
"vcs": {
4646
"enabled": false,
4747
"clientKind": "git",

0 commit comments

Comments
 (0)