KamoCRM

Migrate subscription JSON fields to entity-based @ManyToMany relationships

Refactorkamo-shared-library
Shipped
11 ஏப்ரல், 2026 அன்று 6:52 PM UTC
Author
Kamo
Commit
0903068

Replace jsonb string columns (compatiblePlanIds, includedInPlanIds, applicablePlanIds, applicableBillingCycles) with proper JPA @ManyToMany join tables and @ElementCollection. Update service layer to resolve plan entities instead of serializing JSON, and update promotion DTOs from String to List<String> for consistency with add-on/bundle DTOs.

All changes

Like what you see shipping?

All of it arrives in your workspace on its own. Start on the free plan and read this page again in a month.

Start Free ForeverView Pricing