Fix: Renamed taxis table to taxis_v2 to force schema update on Render and fix UndefinedColumn error
This commit is contained in:
@ -9,7 +9,7 @@ from sqlalchemy import DateTime, func
|
||||
class Taxi(SQLModel, table=True):
|
||||
"""Taxi model representing an authorized taxi."""
|
||||
|
||||
__tablename__ = "taxis"
|
||||
__tablename__ = "taxis_v2"
|
||||
|
||||
id: Optional[UUID] = Field(default_factory=uuid4, primary_key=True)
|
||||
owner_name: str
|
||||
|
||||
Reference in New Issue
Block a user