feat: Remove migration functionality (#89)

This commit is contained in:
Hayden
2025-01-10 17:11:15 +08:00
committed by GitHub
parent e75275dfff
commit 97b26549ce
4 changed files with 0 additions and 145 deletions

View File

@@ -294,20 +294,6 @@ async def read_download_preview(request):
return web.FileResponse(preview_path)
@routes.post("/model-manager/migrate")
async def migrate_legacy_information(request):
"""
Migrate legacy information.
"""
try:
await services.migrate_legacy_information(request)
return web.json_response({"success": True})
except Exception as e:
error_msg = f"Migrate model info failed: {str(e)}"
utils.print_error(error_msg)
return web.json_response({"success": False, "error": error_msg})
WEB_DIRECTORY = "web"
NODE_CLASS_MAPPINGS = {}
__all__ = ["WEB_DIRECTORY", "NODE_CLASS_MAPPINGS"]