Skip to content

Commit 9841e46

Browse files
authored
Merge pull request #752 from aidanharan/database-version-fix
Rails 6: Cache database version in schema cache
2 parents ef99277 + 2e00595 commit 9841e46

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/active_record/connection_adapters/sqlserver_adapter.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,9 @@ def combine_bind_parameters(from_clause: [], join_clause: [], where_clause: [],
256256
result
257257
end
258258

259+
def get_database_version # :nodoc:
260+
version_year
261+
end
259262

260263
protected
261264

0 commit comments

Comments
 (0)