chore: remove legacy SQLite migration script + fix stale comments

- Delete migrate_sqlite_to_postgres.py (one-time script, no longer needed)
- Fix @INVARIANT in mappings.py: SQLite → PostgreSQL
- Remove deprecated source_language column from TranslationJob model
  + Alembic migration 8dd0a93af539 to drop column if exists
- Remove source_language from TranslateJobResponse schema

Fixes recurring 'source_language does not exist' scheduler error
This commit is contained in:
2026-05-14 23:48:13 +03:00
parent fdc452a945
commit cc1e57088d
5 changed files with 42 additions and 405 deletions

View File

@@ -6,7 +6,7 @@
# @RELATION DEPENDS_ON -> [DatabaseModule]
# @RELATION DEPENDS_ON -> [mapping_service]
#
# @INVARIANT: Mappings are persisted in the SQLite database.
#
from fastapi import APIRouter, Depends, HTTPException