Make Plan.name unique

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

  • Close this issue

plans table does not have a unique index on name. We consider name to be unique but this constraint is not explicit in the database, neither in the model validations.

Solution

  • Change existing index on name to be unique
  • Add model validation for uniqueness on name
Edited Sep 26, 2025 by 🤖 GitLab Bot 🤖
Assignee Loading
Time tracking Loading