Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@eguerrant
Copy link
Contributor

@eguerrant eguerrant commented Jun 27, 2025

The Alembic migration for the do not renew functionality set the server default to 0 for the should_expire fields. This works fine for sqlite but does not work for postgres. Updating the migration to use server_default=expression.false() instead

@eguerrant eguerrant requested a review from savathoon June 27, 2025 21:04
@eguerrant eguerrant changed the title Fix migration? Fix db migration Jun 30, 2025
@eguerrant eguerrant merged commit ce06fbf into main Jun 30, 2025
6 checks passed
@eguerrant eguerrant deleted the fix_migration branch June 30, 2025 18:25
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.

2 participants