Automated Action 10ef945a25 Build simple Todo application with FastAPI and SQLite
- Created REST API for managing todo items
- Implemented SQLite database with SQLAlchemy ORM
- Added Alembic for database migrations
- Added health check endpoint

generated with BackendIM... (backend.im)
2025-05-13 06:22:39 +00:00

5 lines
137 B
Python

from app.db.database import engine, Base
from app.models.todo import Todo
def create_tables():
Base.metadata.create_all(bind=engine)