Skip to content

migration: check db versions before migrating any db - #60

Merged
guggero merged 1 commit into
lightninglabs:mainfrom
ziggie1984:update-migration-doc
Jul 1, 2025
Merged

guggero merged 1 commit into
lightninglabs:mainfrom
ziggie1984:update-migration-doc

Conversation

@ziggie1984

@ziggie1984 ziggie1984 commented Jul 1, 2025 •

Copy link
Copy Markdown
Contributor

A user run into that problem so we need to make sure we check all db versions beforehand so that the user can still run LND and apply the latest migrations.

https://lightningcommunity.slack.com/archives/C6BDA6DGE/p1751274516203229

@ziggie1984
ziggie1984 requested review from bitromortac and guggero July 1, 2025 10:03

@guggero guggero left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense, thanks for the fix. LGTM 🎉

Comment thread cmd_migrate_db.go Resolved

@bitromortac bitromortac left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🙏

@ziggie1984
ziggie1984 force-pushed the update-migration-doc branch from cba93de to acb72f6 Compare July 1, 2025 16:05
@guggero
guggero merged commit e92018f into lightninglabs:main Jul 1, 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.

3 participants