refactor(models): unify table names to singular form for consistency across models
This commit is contained in:
@@ -21,7 +21,7 @@ class UserOAuth(db.Model):
|
||||
id: Mapped[int] = mapped_column(primary_key=True)
|
||||
|
||||
# User relationship
|
||||
user_id: Mapped[int] = mapped_column(ForeignKey("users.id"), nullable=False)
|
||||
user_id: Mapped[int] = mapped_column(ForeignKey("user.id"), nullable=False)
|
||||
|
||||
# OAuth provider information
|
||||
provider: Mapped[str] = mapped_column(String(50), nullable=False)
|
||||
|
||||
Reference in New Issue
Block a user