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
|
||||
}
|
||||
|
||||
aid, err := database.GenerateAdvisoryLockId(p.config.DatabaseName)
|
||||
aid, err := database.GenerateAdvisoryLockId(p.config.DatabaseName, p.config.SchemaName)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue