From ee79b9d4c5bfb1d883ff72aa7734677d3593a453 Mon Sep 17 00:00:00 2001 From: MatManSky Date: Thu, 31 Aug 2023 21:08:23 +0300 Subject: [PATCH] =?UTF-8?q?=D0=BD=D0=B0=D1=80=D0=B0=D0=B1=D0=BE=D1=82?= =?UTF-8?q?=D0=BA=D0=B8=20=D0=92=D0=BE=D0=B2=D1=8B=20=D0=B8=20=D0=94=D0=B8?= =?UTF-8?q?=D0=BC=D1=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- back/db.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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)