Skip to content

Conversation

@alokemajumder
Copy link
Collaborator

Summary

  • Fix alembic/env.py to use async database URL for SQLite compatibility
  • Fix migration revision chain (001 -> 002 -> 003 -> 004)
  • Remove duplicate index definitions from migration 003
  • Use Union syntax instead of | for Python 3.9 compatibility
  • Add extra="ignore" to Settings for .env file flexibility

Test plan

  • Run alembic upgrade head from fresh database
  • Verify all tables and columns created correctly
  • Verify migration chain integrity

- Fix alembic/env.py to use async database URL
- Fix migration revision chain (001 -> 002 -> 003 -> 004)
- Remove duplicate index definitions from migration 003
- Use Union syntax instead of | for Python 3.9 compatibility
- Add extra="ignore" to Settings for env file flexibility
@gensecai-dev gensecai-dev merged commit 46d1524 into main Dec 7, 2025
@gensecai-dev gensecai-dev deleted the migration-fixes branch December 7, 2025 19:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants