Skip to content

Conversation

@hrodmn
Copy link
Collaborator

@hrodmn hrodmn commented Apr 8, 2025

Here are the steps I took to add the migration file:

  1. copied pgstac.0.8.6.sql from v0.8.6 tag into this branch
  2. ran scripts/runinpypgstac --build --cpfiles makemigration -f 0.8.6 -t 0.9.0

resolves #335

I also modified the makeversion script to dynamically set the version from the $TO arg because when I ran makemigration -f 0.8.6 -t 0.9.0 initially the 999_version.sql file got tacked onto the end and mistakenly set the version to 0.9.5 which caused a failure in the migration when I tried running it.

@hrodmn hrodmn requested a review from bitner April 8, 2025 10:30
@bitner bitner merged commit 1bbe3f0 into main Apr 10, 2025
6 checks passed
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.

Missing migration path, stuck in v0.8.6

2 participants