1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Bring back postgresql_version as an alias.

This commit is contained in:
Josef Šimánek 2019-04-09 12:16:54 +02:00
parent 9b5401fcc9
commit 7618d08b26
No known key found for this signature in database
GPG key ID: 375E76A19719F67B

View file

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