diff options
| author | Alban Peignier | 2018-01-10 18:48:18 +0100 | 
|---|---|---|
| committer | Alban Peignier | 2018-01-10 18:48:18 +0100 | 
| commit | d597c065194e84f3c350c042276480361520b3b9 (patch) | |
| tree | 570b13894394d0a9578c5859fec9a0e587ffdc31 /app/models | |
| parent | df77b06a42277b3c36627a2bfaa84ddf501d9f5f (diff) | |
| download | chouette-core-d597c065194e84f3c350c042276480361520b3b9.tar.bz2 | |
Lock public.referentials to avoid problem with schemas. Refs #5024
Diffstat (limited to 'app/models')
| -rw-r--r-- | app/models/referential.rb | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/app/models/referential.rb b/app/models/referential.rb index 1fd51a779..75525c441 100644 --- a/app/models/referential.rb +++ b/app/models/referential.rb @@ -456,7 +456,7 @@ class Referential < ActiveRecord::Base      # 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' +      'LOCK public.referentials IN ACCESS EXCLUSIVE MODE'      )    end  end | 
