golang-migrate / migrate

Database migrations. CLI and Golang library.
Other
14.48k stars 1.34k forks source link

error: no migration found for version X (some numbers) #1069

Closed vexsx closed 2 months ago

vexsx commented 2 months ago

Describe the Bug (error: no migration found for version 5: read down for version 5 .: file does not exist)

Migrate Version e.g. v4.17.0

Loaded Source Drivers e.g. file

Loaded Database Drivers postgresql

Go Version e.g. 1.22.6 windows/amd64 Screenshot 2024-04-10 182318 Screenshot 2024-04-10 182354

vexsx commented 2 months ago

jus decrease number of version in schema_migrations manually 1 by 1 and test if its work it should resolve the issue ✨❤️