Skip to content

Commit

Permalink
chore: hotfix for db_migration merge
Browse files Browse the repository at this point in the history
  • Loading branch information
Gaisberg authored and Gaisberg committed Nov 5, 2024
1 parent 14e818f commit c80f609
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/program/db/db_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from sqlalchemy import delete, desc, func, insert, inspect, select, text
from sqlalchemy.exc import SQLAlchemyError
from sqlalchemy.orm import Session, joinedload, selectinload
from utils import root_dir
from program.utils import root_dir

import alembic
from program.media.stream import Stream, StreamBlacklistRelation, StreamRelation
Expand Down
5 changes: 5 additions & 0 deletions src/program/utils/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ def handle_args():
action="store_true",
help="Hard reset the database.",
)
parser.add_argument(
"--hard_reset_db_pre_migration",
action="store_true",
help="Hard reset the database.",
)
parser.add_argument(
"--clean_logs",
action="store_true",
Expand Down

0 comments on commit c80f609

Please sign in to comment.