7fb76bae3d
* Implement migration safety rules: - MIG001: Warn on CREATE INDEX without CONCURRENT. - MIG002: Warn on ALTER TABLE ADD COLUMN NOT NULL without DEFAULT. - MIG003: Warn on ALTER TABLE ADD CONSTRAINT without NOT VALID. * Implement naming conventions rules: - NAM001: Warn on non-snake_case table names. - NAM002: Warn on non-snake_case column names in CREATE TABLE. - NAM003: Warn on non-snake_case function names. * Add test fixtures for all new rules.
14 lines
445 B
Modula-2
14 lines
445 B
Modula-2
module github.com/hein/pgtidy
|
|
|
|
go 1.26
|
|
|
|
require (
|
|
github.com/pganalyze/pg_query_go/v6 v6.2.2 // indirect
|
|
github.com/tetratelabs/wazero v1.12.0 // indirect
|
|
github.com/wasilibs/go-pgquery v0.0.0-20260623022807-b68b28131ed3 // indirect
|
|
github.com/wasilibs/wazero-helpers v0.0.0-20250123031827-cd30c44769bb // indirect
|
|
golang.org/x/sys v0.44.0 // indirect
|
|
google.golang.org/protobuf v1.36.11 // indirect
|
|
gopkg.in/yaml.v3 v3.0.1 // indirect
|
|
)
|