Merge pull request #35909 from simi/alias-postgresql-adapter

Bring back postgresql_version as an alias.
This commit is contained in:
Ryuta Kamizono 2019-04-10 01:24:54 +09:00 committed by GitHub
commit dd58d040b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -425,6 +425,7 @@ module ActiveRecord
def get_database_version # :nodoc:
@connection.server_version
end
alias :postgresql_version :database_version
def default_index_type?(index) # :nodoc:
index.using == :btree || super