mirror of https://github.com/rails/rails
Merge pull request #35909 from simi/alias-postgresql-adapter
Bring back postgresql_version as an alias.
This commit is contained in:
commit
dd58d040b2
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue