use path_id instead of entity_id everywhere

This commit is contained in:
phernandez
2024-12-24 22:25:06 -06:00
parent 04a7a3585b
commit f044de9e1d
9 changed files with 74 additions and 133 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ def init_db(
db_path.parent.mkdir(parents=True, exist_ok=True)
try:
async with engine_session_factory(path, db_type=DatabaseType.FILESYSTEM, init=True):
async with engine_session_factory(db_path, db_type=DatabaseType.FILESYSTEM, init=True):
typer.echo(f"Initialized database at {db_path}")
except Exception as e:
typer.echo(f"Error initializing database: {e}")