mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-06-04 12:56:02 +00:00
refactor: remove SQLite compatibility check for column cleanup in DB migration script
This commit is contained in:
@@ -251,9 +251,6 @@ class DBMigrateModelProviderRefactor(migration.DBMigration):
|
||||
|
||||
async def _cleanup_columns(self):
|
||||
"""Remove deprecated columns from model tables"""
|
||||
# SQLite doesn't support DROP COLUMN easily, so we skip for SQLite
|
||||
if self.ap.persistence_mgr.db.name != 'postgresql':
|
||||
return
|
||||
|
||||
llm_columns = await self._get_columns('llm_models')
|
||||
deprecated_llm_cols = ['requester', 'requester_config', 'api_keys', 'description', 'source', 'space_model_id']
|
||||
|
||||
Reference in New Issue
Block a user