Pin markedForReassignmentBy FK to INT8 (no inherited default)

Fixkamo-shared-library
Shipped
July 1, 2026 at 11:04 PM UTC
Author
Kamo
Commit
6373810

Without columnDefinition, Hibernate copies members.id (INT8 DEFAULT unique_rowid()), so CockroachDB backfilled existing leads rows with bogus member ids on ALTER ADD COLUMN, breaking the FK constraint. Pinning columnDefinition=INT8 avoids the inherited default. Prod already corrected (DROP DEFAULT + null orphan).

All changes

Like what you see shipping?

Every one of these updates lands in your workspace automatically. Start free and watch it grow week after week.

Start Free ForeverView Pricing