Skip to content

fix(data): resolve the migration version collision at 035 (governance vs swap_offers) #310

Description

Summary

Both 035_create_governance and 035_create_swap_offers share version 035. cmd/migrate/main.go migrationVersion() returns just "035", and down rolls back only one migration per run (break at :203) - non-deterministic state.

Acceptance Criteria

  • Renumber one of the colliding migrations
  • Down migration rolls back all applied versions correctly
  • Idempotency preserved; migration tests

Complexity

High.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave programdata-layerPersistence, migrations, indexeshigh-complexityHigh-complexity backend task requiring deep architectural work

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions