Update src/utils/migration.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
da7ab628a3
commit
2e377d2c78
1 changed files with 1 additions and 1 deletions
|
|
@ -231,7 +231,7 @@ def perform_migration() -> Dict[str, bool]:
|
||||||
marker_file = get_migration_marker_file()
|
marker_file = get_migration_marker_file()
|
||||||
try:
|
try:
|
||||||
marker_file.parent.mkdir(parents=True, exist_ok=True)
|
marker_file.parent.mkdir(parents=True, exist_ok=True)
|
||||||
marker_file.write_text(f"Migration completed successfully\n")
|
marker_file.write_text("Migration completed successfully\n")
|
||||||
logger.info("Migration marker file created")
|
logger.info("Migration marker file created")
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
logger.warning(f"Failed to create migration marker file: {e}")
|
logger.warning(f"Failed to create migration marker file: {e}")
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue