diff --git a/database/postgres/postgres.go b/database/postgres/postgres.go index 6552f9d..73eb646 100644 --- a/database/postgres/postgres.go +++ b/database/postgres/postgres.go @@ -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 }