Timothy J. Baek 11 mesi fa
parent
commit
633607a5c2
1 ha cambiato i file con 3 aggiunte e 1 eliminazioni
  1. 3 1
      backend/apps/webui/internal/db.py

+ 3 - 1
backend/apps/webui/internal/db.py

@@ -31,7 +31,9 @@ else:
 DB = connect(DATABASE_URL)
 log.info(f"Connected to a {DB.__class__.__name__} database.")
 router = Router(
-    DB, migrate_dir=BACKEND_DIR / "apps" / "web" / "internal" / "migrations", logger=log
+    DB,
+    migrate_dir=BACKEND_DIR / "apps" / "webui" / "internal" / "migrations",
+    logger=log,
 )
 router.run()
 DB.connect(reuse_if_open=True)