refactor(models): unify table names to singular form for consistency across models

This commit is contained in:
JSC
2025-07-05 18:11:19 +02:00
parent 21541c8184
commit 024c58f013
7 changed files with 12 additions and 12 deletions

View File

@@ -9,7 +9,7 @@ from app.database import db
class Plan(db.Model):
"""Plan model for user subscription plans."""
__tablename__ = "plans"
__tablename__ = "plan"
id = Column(Integer, primary_key=True)
code = Column(String(50), unique=True, nullable=False, index=True)