Migrate subscription JSON fields to entity-based @ManyToMany relationships

Refactorkamo-shared-library
Shipped
April 11, 2026 at 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?

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

Start Free ForeverView Pricing