### What problem does this PR solve?

### Type of change

- [x] Refactoring
This commit is contained in:
Kevin Hu
2025-01-15 14:06:46 +08:00
committed by GitHub
parent 713f38090b
commit e478586a8e
5 changed files with 6 additions and 10 deletions

View File

@ -1051,11 +1051,6 @@ def migrate_db():
)
except Exception:
pass
try:
DB.execute_sql('ALTER TABLE llm DROP PRIMARY KEY;')
DB.execute_sql('ALTER TABLE llm ADD PRIMARY KEY (llm_name,fid);')
except Exception:
pass
try:
migrate(
migrator.add_column('task', 'retry_count', IntegerField(default=0))