mirror of https://github.com/status-im/migrate.git
Unlock in postgres db driver should also use the schema name
This commit is contained in:
parent
f38fe38d45
commit
6ebc6c7dae
|
@ -167,7 +167,7 @@ func (p *Postgres) Unlock() error {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
aid, err := database.GenerateAdvisoryLockId(p.config.DatabaseName)
|
aid, err := database.GenerateAdvisoryLockId(p.config.DatabaseName, p.config.SchemaName)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue