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:
parent
9b5401fcc9
commit
7618d08b26
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue