Merge branch 'open-webui:main' into main

This commit is contained in:
MadsLang
2025-01-13 08:28:13 +01:00
committed by GitHub
4022 changed files with 103589 additions and 2083 deletions

View File

@@ -55,7 +55,7 @@ def handle_peewee_migration(DATABASE_URL):
try:
# Replace the postgresql:// with postgres:// to handle the peewee migration
db = register_connection(DATABASE_URL.replace("postgresql://", "postgres://"))
migrate_dir = OPEN_WEBUI_DIR / "apps" / "webui" / "internal" / "migrations"
migrate_dir = OPEN_WEBUI_DIR / "internal" / "migrations"
router = Router(db, logger=log, migrate_dir=migrate_dir)
router.run()
db.close()