Skip to content
This repository has been archived by the owner on Jun 28, 2018. It is now read-only.

ErrLocked not matched #347

Open
jney opened this issue Mar 12, 2018 · 0 comments
Open

ErrLocked not matched #347

jney opened this issue Mar 12, 2018 · 0 comments

Comments

@jney
Copy link

jney commented Mar 12, 2018

Hi, doing the following code, i still get a "can't acquire lock" error

if err := m.Up(); err != nil && err != migrate.ErrNoChange && err != migrate.ErrLocked {
	logger.Fatalf("migrating up: %v", err)
}

any idea why?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant