Pick the smallest type that fits the domain instead of defaulting everything to text or bigint.
Why This Matters
Oversized or stringly-typed columns waste storage, weaken validation, and slow indexes and scans.
Related Rules
Catch this automatically on every PR
BeforeMerge scans your pull requests against this rule and dozens more. Get actionable feedback before code ships.