go-gorm / postgres

GORM PostgreSQL driver
MIT License
228 stars 120 forks source link

Implement `ObtainLock` and `ReleaseLock` on Migrator #224

Closed lasse-it closed 9 months ago

lasse-it commented 10 months ago

What did this pull request do?

Implements the ObtainLock and ReleaseLock functions on the Migrator.

User Case Description

To be used with https://github.com/go-gorm/gorm/pull/6680.