Skip to content

Commit 154e3bb

Browse files
committed
fix: codegen
1 parent 79f4c9f commit 154e3bb

File tree

6 files changed

+151
-77
lines changed

6 files changed

+151
-77
lines changed

.sqlx/query-02927e584e85871ba6f84c58e8b5e4454b2c36eaf034657d5d2d95633fb85bdb.json

Lines changed: 74 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.sqlx/query-425fc6118e76cea42cf256b3b0f11046dc8b77d84c94314a0ed0716e5803df69.json

Lines changed: 74 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.sqlx/query-b869d517301aaf69d382f092c09d5a53712d68afd273423f9310cd793586f532.json

Lines changed: 0 additions & 74 deletions
This file was deleted.

crates/pgls_diagnostics_categories/src/categories.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ define_categories! {
6969
"splinter/security/rlsReferencesUserMetadata": "https://supabase.com/docs/guides/database/database-linter?lint=0015_rls_references_user_metadata",
7070
"splinter/security/securityDefinerView": "https://supabase.com/docs/guides/database/database-linter?lint=0010_security_definer_view",
7171
"splinter/security/unsupportedRegTypes": "https://supabase.com/docs/guides/database/database-linter?lint=unsupported_reg_types",
72-
"splinter/unknown/unknown": "https://pg-language-server.com/latest",
72+
"splinter/unknown/unknown": "https://supabase.com/docs/guides/database/database-linter",
7373
// splinter rules end
7474
;
7575
// General categories

crates/pgls_splinter/src/convert.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
use pgls_diagnostics::{category, Category, Severity};
1+
use pgls_diagnostics::{Category, Severity, category};
22
use serde_json::Value;
33

44
use crate::{SplinterAdvices, SplinterDiagnostic, SplinterQueryResult};

crates/pgls_splinter/tests/diagnostics.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
use pgls_console::fmt::{Formatter, HTML};
22
use pgls_diagnostics::{Diagnostic, LogCategory, Visit};
3-
use pgls_splinter::{run_splinter, SplinterParams};
3+
use pgls_splinter::{SplinterParams, run_splinter};
44
use sqlx::PgPool;
55
use std::fmt::Write;
66
use std::io;

0 commit comments

Comments
 (0)