Spaces:
Sleeping
Sleeping
Update app/database.py
Browse files- app/database.py +1 -1
app/database.py
CHANGED
|
@@ -2,7 +2,7 @@ from sqlalchemy import create_engine
|
|
| 2 |
from sqlalchemy.orm import sessionmaker, declarative_base
|
| 3 |
from app.config import settings
|
| 4 |
|
| 5 |
-
#
|
| 6 |
is_sqlite = settings.DATABASE_URL.startswith("sqlite+")
|
| 7 |
|
| 8 |
engine = create_engine(
|
|
|
|
| 2 |
from sqlalchemy.orm import sessionmaker, declarative_base
|
| 3 |
from app.config import settings
|
| 4 |
|
| 5 |
+
# SQLiteかどうか検知
|
| 6 |
is_sqlite = settings.DATABASE_URL.startswith("sqlite+")
|
| 7 |
|
| 8 |
engine = create_engine(
|