Python-code moved to backend/ directory.

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

9
backend/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