Pin option FK column definitions so they do not inherit gen_random_uuid()

Fixkamo-shared-library
Shipped
3 Agosti 2026, 21:06 UTC
Author
Kamo
Commit
987cf30

Hibernate copies the referenced id's columnDefinition onto a new @JoinColumn, so quote_id and option_id were both created DEFAULT gen_random_uuid(). An insert that omits the parent then invents one instead of failing. Pinning columnDefinition to plain UUID stops it recurring on any fresh database.

All changes

Je, unaona nini kuhusu usafiri?

Kila moja ya hizi updates ardhi katika nafasi yako ya kazi moja kwa moja. Kuanza bure na kuangalia kukua wiki baada ya wiki.

Kuwa Huru MileleMtazamo wa bei