Compute derived values with GENERATED ALWAYS AS ... STORED instead of duplicating logic in every writer.
Why This Matters
Derived values maintained by triggers or app code drift out of sync when any path forgets to update them.
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.