Skip to content

Remove outdated alembic branchpoint#601

Open
varmar05 wants to merge 1 commit intodevelopfrom
remove_migration_branch
Open

Remove outdated alembic branchpoint#601
varmar05 wants to merge 1 commit intodevelopfrom
remove_migration_branch

Conversation

@varmar05
Copy link
Copy Markdown
Collaborator

Branching point in community line from few years ago only creates confusion and make upgrades more difficult. Let's remove the old migration, which cleans heads and history alembic commands.

Deployment note

Because existing deployments might have stamped version where file physically do not exist it would break alembic commands, e.g. flask db current will not work. We can't therefore use stamp --purge and we need to remove the row using sql

docker exec merginmaps-db psql -U postgres -c "DELETE FROM alembic_version WHERE version_num='35af0c8be41e';"

Once it is gone, flask db commands work as expected.

@varmar05 varmar05 requested a review from MarcelGeo March 25, 2026 14:37
@coveralls
Copy link
Copy Markdown

Pull Request Test Coverage Report for Build 23546478774

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 94.589%

Totals Coverage Status
Change from base Build 23292697212: 0.0%
Covered Lines: 9108
Relevant Lines: 9629

💛 - Coveralls

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