Skip to content

Commit 7618d08

Browse files
committed
Bring back postgresql_version as an alias.
1 parent 9b5401f commit 7618d08

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -425,6 +425,7 @@ def column_name_for_operation(operation, node) # :nodoc:
425425
def get_database_version
426426
@connection.server_version
427427
end
428+
alias :postgresql_version :database_version
428429

429430
def default_index_type?(index) # :nodoc:
430431
index.using == :btree || super

0 commit comments

Comments
 (0)