@@ -274,7 +274,7 @@ func (p *Postgres) Unlock() error {
274274
275275// https://www.postgresql.org/docs/9.6/static/explicit-locking.html#ADVISORY-LOCKS
276276func (p * Postgres ) applyAdvisoryLock () error {
277- aid , err := database .GenerateAdvisoryLockID (p .config .DatabaseName , p .config .migrationsSchemaName , p .config .migrationsTableName )
277+ aid , err := database .GenerateAdvisoryLockId (p .config .DatabaseName , p .config .migrationsSchemaName , p .config .migrationsTableName )
278278 if err != nil {
279279 return err
280280 }
@@ -299,7 +299,7 @@ func (p *Postgres) applyTableLock() error {
299299 }
300300 }()
301301
302- aid , err := database .GenerateAdvisoryLockID (p .config .DatabaseName )
302+ aid , err := database .GenerateAdvisoryLockId (p .config .DatabaseName )
303303 if err != nil {
304304 return err
305305 }
@@ -331,7 +331,7 @@ func (p *Postgres) applyTableLock() error {
331331}
332332
333333func (p * Postgres ) releaseAdvisoryLock () error {
334- aid , err := database .GenerateAdvisoryLockID (p .config .DatabaseName , p .config .migrationsSchemaName , p .config .migrationsTableName )
334+ aid , err := database .GenerateAdvisoryLockId (p .config .DatabaseName , p .config .migrationsSchemaName , p .config .migrationsTableName )
335335 if err != nil {
336336 return err
337337 }
@@ -345,7 +345,7 @@ func (p *Postgres) releaseAdvisoryLock() error {
345345}
346346
347347func (p * Postgres ) releaseTableLock () error {
348- aid , err := database .GenerateAdvisoryLockID (p .config .DatabaseName )
348+ aid , err := database .GenerateAdvisoryLockId (p .config .DatabaseName )
349349 if err != nil {
350350 return err
351351 }
0 commit comments