litellm/litellm-proxy-extras/litellm_proxy_extras
Alexsander Hamir 6bf33b6673 Make migration generation idempotent by default
- Add shared utility function to make migrations idempotent (IF NOT EXISTS)
- Update migration generation scripts to use shared utility
- Fix existing migration file to use IF NOT EXISTS clauses
- Add comprehensive test suite with 23 test cases covering edge cases
- Ensure all future migrations are automatically idempotent

This prevents migration failures when columns/indexes already exist,
making migrations safe to re-run on databases that were manually fixed.
2026-02-03 10:32:09 -08:00
..
migrations Make migration generation idempotent by default 2026-02-03 10:32:09 -08:00
__init__.py install prisma migration files - connects litellm proxy to litellm's prisma migration files (#9637) 2025-03-29 15:27:09 -07:00
_logging.py Fix: log duplication when json_logs is enabled (#19705) 2026-01-24 11:09:04 -08:00
schema.prisma Revert "add missing indexes on VerificationToken table (#20040)" 2026-02-03 15:01:28 +05:30
utils.py Make migration generation idempotent by default 2026-02-03 10:32:09 -08:00