rubenv / rubenv/sql-migrate

Safety of ToCatchup?

Open
#196 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
3.4k
Forks
292
PR merge metrics
No merged PRs in 30d

Description

In the commit https://github.com/rubenv/sql-migrate/commit/a8bcd23c4ddffac12477ebb117c62fd208b334bc a number of years ago it was added to fill in the holes of steps that were not run even though the last migration is past already. How is this safe considering migration steps are not independent?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading commit a8bcd23c4ddffac12477ebb117c62fd208b334bc and tracing the ToCatchup behavior for skipped migration steps. Determine whether migration ordering and dependencies remain safe, then document the findings and agree on any required change or follow-up with the maintainers.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, sql
Domain
databases
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.