diff options
Diffstat (limited to 'app/models')
| -rw-r--r-- | app/models/referential.rb | 2 | 
1 files changed, 2 insertions, 0 deletions
| diff --git a/app/models/referential.rb b/app/models/referential.rb index f78b4ec9a..9047cc21e 100644 --- a/app/models/referential.rb +++ b/app/models/referential.rb @@ -378,6 +378,8 @@ class Referential < ActiveRecord::Base    private    def lock_table +    # No explicit unlock is needed as it will be released at the end of the +    # transaction.      ActiveRecord::Base.connection.execute(        'LOCK referentials IN ACCESS EXCLUSIVE MODE'      ) | 
