Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

chore: fix the wrong registration for pg index naming convention (#2117)

rebelice6b08a0808306
diff --git a/plugin/advisor/pg/advisor_naming_index_convention.go b/plugin/advisor/pg/advisor_naming_index_convention.go
index efc1a1f9e0..63c959aad6 100644
--- a/plugin/advisor/pg/advisor_naming_index_convention.go
+++ b/plugin/advisor/pg/advisor_naming_index_convention.go
@@ -16,7 +16,7 @@ var (
)
func init() {
- advisor.Register(db.Postgres, advisor.PostgreSQLNamingIndexConvention, &NamingColumnConventionAdvisor{})
+ advisor.Register(db.Postgres, advisor.PostgreSQLNamingIndexConvention, &NamingIndexConventionAdvisor{})
}
// NamingIndexConventionAdvisor is the advisor checking for index naming convention.