Spaces:
Runtime error
Runtime error
xclasscode
commited on
Commit
·
8c3ca89
1
Parent(s):
33aa776
Update database.py
Browse files- database.py +1 -1
database.py
CHANGED
@@ -2,7 +2,7 @@ from sqlalchemy import create_engine
|
|
2 |
from sqlalchemy.ext.declarative import declarative_base
|
3 |
from sqlalchemy.orm import sessionmaker
|
4 |
|
5 |
-
SQLALCHEMY_DATABASE_URL = "sqlite:///./
|
6 |
|
7 |
engine = create_engine(
|
8 |
SQLALCHEMY_DATABASE_URL, connect_args={"check_same_thread": False}
|
|
|
2 |
from sqlalchemy.ext.declarative import declarative_base
|
3 |
from sqlalchemy.orm import sessionmaker
|
4 |
|
5 |
+
SQLALCHEMY_DATABASE_URL = "sqlite:///./app.db"
|
6 |
|
7 |
engine = create_engine(
|
8 |
SQLALCHEMY_DATABASE_URL, connect_args={"check_same_thread": False}
|