🐛 修复后端回收站部署内容

This commit is contained in:
orion committed 2026-09-11 16:59:07 +08:00
1 parent 8badb80600
commit dddca40df8
22 files changed
+986 -124

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
from tortoise import connections
async def add_save_path_to_uploadchunk():
conn = connections.get("default")
await conn.execute_script(
"""
ALTER TABLE uploadchunk ADD COLUMN save_path VARCHAR(512) NULL;
"""
)
async def migrate():
await add_save_path_to_uploadchunk()