Foreign key columns without indexes cause slow JOINs and cascade operations.
Why This Matters
Missing indexes on foreign key columns force sequential scans on JOIN operations and slow down ON DELETE CASCADE chains, especially as tables grow.
Tags
SplinterDB Lintingpostgresql
Related Rules
Catch this automatically on every PR
BeforeMerge scans your pull requests against this rule and 3+ others. Get actionable feedback before code ships.