Skip to content

Fixed migration issue for PostgreSQL#1574

Closed
rakdutta wants to merge 8 commits intomainfrom
issue_alembic
Closed

Fixed migration issue for PostgreSQL#1574
rakdutta wants to merge 8 commits intomainfrom
issue_alembic

Conversation

@rakdutta
Copy link
Copy Markdown
Collaborator

This pull request enhances the Alembic migration to support multiple database backends (PostgreSQL, SQLite, and MySQL) by dynamically handling constraint naming and accommodating database-specific behaviors such as type casting and constraint renaming. Both the upgrade and downgrade paths have been improved to ensure safer and more robust migrations across all supported databas

@rakdutta rakdutta marked this pull request as ready for review December 10, 2025 07:48
@rakdutta rakdutta changed the title Fixed migration issue for posgresql Fixed migration issue for PostgreSQL Dec 10, 2025
@nmveeresh nmveeresh self-assigned this Dec 11, 2025
@nmveeresh
Copy link
Copy Markdown
Collaborator

Tested with both sqlite and postgres, working fine

Copy link
Copy Markdown
Collaborator

@nmveeresh nmveeresh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested with both sqlite and postgres, working fine.

Copy link
Copy Markdown
Collaborator

@nmveeresh nmveeresh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested with both sqlite and postgres, working fine..

Signed-off-by: rakdutta <rakhibiswas@yahoo.com>
Signed-off-by: rakdutta <rakhibiswas@yahoo.com>
Signed-off-by: rakdutta <rakhibiswas@yahoo.com>
Signed-off-by: rakdutta <rakhibiswas@yahoo.com>
@madhav165 madhav165 force-pushed the issue_alembic branch 2 times, most recently from 6c1836b to d588947 Compare December 11, 2025 15:54
Signed-off-by: Madhav Kandukuri <madhav165@gmail.com>
Signed-off-by: Madhav Kandukuri <madhav165@gmail.com>
Signed-off-by: Madhav Kandukuri <madhav165@gmail.com>
Signed-off-by: Madhav Kandukuri <madhav165@gmail.com>
@kevalmahajan
Copy link
Copy Markdown
Member

Closed in #1584

@madhav165 madhav165 deleted the issue_alembic branch February 20, 2026 13:03
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.

5 participants