Fix: Renamed taxis table to taxis_v2 to force schema update on Render and fix UndefinedColumn error

This commit is contained in:
2026-02-22 10:56:23 -05:00
parent e07b0a8601
commit e0cd9662c2

View File

@ -9,7 +9,7 @@ from sqlalchemy import DateTime, func
class Taxi(SQLModel, table=True): class Taxi(SQLModel, table=True):
"""Taxi model representing an authorized taxi.""" """Taxi model representing an authorized taxi."""
__tablename__ = "taxis" __tablename__ = "taxis_v2"
id: Optional[UUID] = Field(default_factory=uuid4, primary_key=True) id: Optional[UUID] = Field(default_factory=uuid4, primary_key=True)
owner_name: str owner_name: str