KamoCRM

Widen the support topic assignment_strategy range CHECK to 0..3

FixInitializerService
Ya
10 Agosti 2026, 19:17 UTC
Mwandishi
Kamo
Ahadi ya
1fc0ebd

SupportAssignmentStrategyType is @Enumerated(ORDINAL), so Hibernate emitted CHECK (assignment_strategy >= 0 AND assignment_strategy <= 2) on CREATE TABLE rather than an IN-list. dropStaleEnumWhitelistChecks() only drops IN-list whitelists and deliberately leaves clauses containing AND alone, so this one survives the sweep and every value appended to the enum has to widen it here. AUTO_ASSIGNMENT(3) is the current top of the range. Dropped and recreated because CHECK constraints have no ALTER form; both halves are idempotent, so a re-run is a no-op.

Mabadiliko yote

Je, unaona nini kuhusu usafiri?

Kila kitu kinaingia kwenye tovuti yako mwenyewe. Anza kwenye mpango wa bure na usome ukurasa huu tena katika mwezi mmoja.

Kuwa Huru MileleMtazamo wa bei