Spaces:
Sleeping
Sleeping
sqlite error
Browse files- .gitignore +1 -1
- models/database.py +1 -1
.gitignore
CHANGED
|
@@ -57,5 +57,5 @@ Desktop.ini
|
|
| 57 |
*.iml
|
| 58 |
|
| 59 |
# Database
|
| 60 |
-
|
| 61 |
reports/*
|
|
|
|
| 57 |
*.iml
|
| 58 |
|
| 59 |
# Database
|
| 60 |
+
#*.db
|
| 61 |
reports/*
|
models/database.py
CHANGED
|
@@ -3,7 +3,7 @@ from sqlalchemy.ext.declarative import declarative_base
|
|
| 3 |
from sqlalchemy.orm import sessionmaker
|
| 4 |
|
| 5 |
# Define the database connection URL
|
| 6 |
-
DATABASE_URL = "sqlite:///./
|
| 7 |
|
| 8 |
# Create the SQLAlchemy engine
|
| 9 |
engine = create_engine(
|
|
|
|
| 3 |
from sqlalchemy.orm import sessionmaker
|
| 4 |
|
| 5 |
# Define the database connection URL
|
| 6 |
+
DATABASE_URL = "sqlite:///./ship_draft_reports.db"
|
| 7 |
|
| 8 |
# Create the SQLAlchemy engine
|
| 9 |
engine = create_engine(
|