mirror of
https://github.com/discourse/discourse.git
synced 2025-09-04 08:47:37 +08:00
Move monkey patch into freedom_patchers.
This commit is contained in:
parent
337ccfa3a6
commit
c390169b71
1 changed files with 0 additions and 0 deletions
|
@ -1,8 +0,0 @@
|
|||
# Awaiting decision on https://github.com/rails/rails/issues/31190
|
||||
if ENV['DISABLE_MIGRATION_ADVISORY_LOCK']
|
||||
class ActiveRecord::ConnectionAdapters::PostgreSQLAdapter
|
||||
def supports_advisory_locks?
|
||||
false
|
||||
end
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue