
This commit includes: - Project structure and FastAPI setup - SQLAlchemy models for users, vehicles, schedules, and tickets - Alembic migrations - User authentication and management - Vehicle and schedule management - Ticket purchase and cancellation with time restrictions - Comprehensive API documentation
9 lines
366 B
Python
9 lines
366 B
Python
from app.db.base import Base
|
|
from app.models.ticket import Ticket
|
|
from app.models.user import User
|
|
from app.models.vehicle import Schedule, Vehicle
|
|
|
|
# This file imports all SQLAlchemy models to ensure they are registered with the Base metadata
|
|
# This file is used by Alembic for auto-generating migrations
|
|
|
|
__all__ = ["Base", "User", "Vehicle", "Schedule", "Ticket"] |