Spaces:
Runtime error
Runtime error
tracinginsights
commited on
Commit
·
6443a07
1
Parent(s):
04cf17e
Update database.py
Browse files- database.py +1 -1
database.py
CHANGED
@@ -3,7 +3,7 @@ from sqlalchemy.ext.declarative import declarative_base
|
|
3 |
from sqlalchemy.orm import sessionmaker
|
4 |
|
5 |
# DATABASE_URL = "postgresql://tracinginsights:gabbie1972!@localhost/maindb"
|
6 |
-
DATABASE_URL = "sqlite
|
7 |
|
8 |
engine = create_engine(DATABASE_URL, connect_args={"check_same_thread": False})
|
9 |
|
|
|
3 |
from sqlalchemy.orm import sessionmaker
|
4 |
|
5 |
# DATABASE_URL = "postgresql://tracinginsights:gabbie1972!@localhost/maindb"
|
6 |
+
DATABASE_URL = "sqlite:///./cache/main.db"
|
7 |
|
8 |
engine = create_engine(DATABASE_URL, connect_args={"check_same_thread": False})
|
9 |
|