Update database.py
Browse files- database.py +1 -1
database.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
from sqlalchemy import create_engine
|
2 |
from sqlalchemy.ext.declarative import declarative_base
|
3 |
from sqlalchemy.orm import sessionmaker
|
4 |
-
from
|
5 |
|
6 |
#database = databases.Database(settings.db_url)
|
7 |
#SQLALCHEMY_DATABASE_URL = "sqlite:///./sql_app.db"
|
|
|
1 |
from sqlalchemy import create_engine
|
2 |
from sqlalchemy.ext.declarative import declarative_base
|
3 |
from sqlalchemy.orm import sessionmaker
|
4 |
+
from config import settings
|
5 |
|
6 |
#database = databases.Database(settings.db_url)
|
7 |
#SQLALCHEMY_DATABASE_URL = "sqlite:///./sql_app.db"
|