Updated
On this page
Package audit provides normal form analysis (1NF through BCNF) for pgdesign schemas using declared functional dependencies and Bernstein synthesis.
#internal/audit
#internal/audit
Package audit provides normal form analysis (1NF through BCNF) for pgdesign schemas using declared functional dependencies and Bernstein synthesis.
It detects 1NF, 2NF, 3NF, and BCNF violations using declared functional dependencies and suggests decompositions via Bernstein's synthesis algorithm.
#Audit
go
func Audit(schema *model.Schema) []diagnostic.DiagnosticAudit analyzes a schema for normal form violations and returns diagnostics.