fix(migration): define project_root alias in storage_manager to fix VERIFY phase failure
This commit is contained in:
parent
2dfd0fc856
commit
d854bc3284
1 changed files with 1 additions and 0 deletions
|
|
@ -16,6 +16,7 @@ for p in curr.parents:
|
||||||
break
|
break
|
||||||
if not backend_root:
|
if not backend_root:
|
||||||
backend_root = curr.parents[3]
|
backend_root = curr.parents[3]
|
||||||
|
project_root = backend_root
|
||||||
|
|
||||||
MIGRATION_BASE_DIR = str(backend_root / "uploads" / "migrations")
|
MIGRATION_BASE_DIR = str(backend_root / "uploads" / "migrations")
|
||||||
os.makedirs(MIGRATION_BASE_DIR, exist_ok=True)
|
os.makedirs(MIGRATION_BASE_DIR, exist_ok=True)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue