mirror of
https://github.com/Rainyy21/URL_shortener.git
synced 2026-10-10 23:40:14 -04:00
move file around and rename stuff
This commit is contained in:
+1
-1
@@ -1,7 +1,7 @@
|
||||
from sqlalchemy import create_engine, engine
|
||||
from sqlalchemy.orm import sessionmaker, declarative_base
|
||||
|
||||
DATABASE_URL = "sqlite:///./urls.db"
|
||||
DATABASE_URL = "sqlite:///./db/urls.db"
|
||||
|
||||
engine = create_engine(DATABASE_URL, connect_args={"check_same_thread": False})
|
||||
SessionLocal = sessionmaker(autocommit=False, autoflush=False, bind=engine)
|
||||
|
||||
BIN
Binary file not shown.
Reference in New Issue
Block a user