Skip to content

Conversation

samrose
Copy link
Collaborator

@samrose samrose commented Apr 21, 2025

Problem

running dbmate tool resulted in inconsistent outcomes due to the nature of how it was run

Solution

  • Updated the docs to reflect the correct steps
  • Adjusted devshell to handle creating the environment with the right DATABASE_URL value
  • adjusted dbmate tool to strip leading insert statements (if present) so that it doesn't need to be run twice in order to produce consistent outcome.

@samrose samrose requested review from a team as code owners April 21, 2025 18:54
@samrose samrose requested a review from soedirgo April 21, 2025 18:55
@samrose samrose merged commit dd2363e into develop Apr 21, 2025
14 checks passed
@samrose samrose deleted the sam/migrations-fixes branch April 21, 2025 23:25
damonrand pushed a commit to cepro/postgres that referenced this pull request Jun 15, 2025
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