latest
Browse files
__pycache__/app.cpython-310.pyc
CHANGED
|
Binary files a/__pycache__/app.cpython-310.pyc and b/__pycache__/app.cpython-310.pyc differ
|
|
|
__pycache__/database.cpython-310.pyc
CHANGED
|
Binary files a/__pycache__/database.cpython-310.pyc and b/__pycache__/database.cpython-310.pyc differ
|
|
|
__pycache__/main.cpython-310.pyc
CHANGED
|
Binary files a/__pycache__/main.cpython-310.pyc and b/__pycache__/main.cpython-310.pyc differ
|
|
|
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 |
# SQLALCHEMY_DATABASE_URL = "postgresql://user:password@postgresserver/db"
|
| 7 |
|
| 8 |
engine = create_engine(
|
|
|
|
| 2 |
from sqlalchemy.ext.declarative import declarative_base
|
| 3 |
from sqlalchemy.orm import sessionmaker
|
| 4 |
|
| 5 |
+
SQLALCHEMY_DATABASE_URL = "sqlite:///./sql_app.db"
|
| 6 |
# SQLALCHEMY_DATABASE_URL = "postgresql://user:password@postgresserver/db"
|
| 7 |
|
| 8 |
engine = create_engine(
|