diff --git a/back/db.py b/back/db.py index a2a3b41..5840936 100644 --- a/back/db.py +++ b/back/db.py @@ -4,8 +4,7 @@ from sqlalchemy.orm import sessionmaker from sqlalchemy.ext.declarative import declarative_base -SQLALCHEMY_DATABASE_URL = 'postgresql+asyncpg://postgres:D560c34V112Ak@localhost/porridger' - +SQLALCHEMY_DATABASE_URL = "sqlite+aiosqlite:///./sql_app.db" engine = create_async_engine(SQLALCHEMY_DATABASE_URL, echo=True) SessionLocal = sessionmaker(bind=engine, class_=AsyncSession, expire_on_commit=False)