laravel-subscriptions icon indicating copy to clipboard operation
laravel-subscriptions copied to clipboard

Duplicate Feature Slug

Open 200-0K opened this issue 11 months ago • 9 comments

I have multiple subscription plans (free, pro, premium), each with features that share the same slug but have different values depending on the plan. When I attempt to save two features with the same slug, a number suffix is added due to the unique constraint on the feature slug. What’s the best way to handle this? Should I create separate feature slugs for each plan, or is there a recommended approach to manage features with shared slugs across plans?

image

200-0K avatar Nov 04 '24 18:11 200-0K