Initial import

This commit is contained in:
Frank Agerholm 2026-01-25 10:21:23 +01:00
commit f8c3bfddf2
No known key found for this signature in database
15 changed files with 2262 additions and 0 deletions

9
app/db.py Normal file
View file

@ -0,0 +1,9 @@
from sqlalchemy import create_engine
from sqlalchemy.orm import sessionmaker, DeclarativeBase
from app.config import settings
engine = create_engine(settings.database_url, future=True)
SessionLocal = sessionmaker(bind=engine, autoflush=False, autocommit=False)
class Base(DeclarativeBase):
pass