Sha256: 85de542249e343d0cfc9fb06461df9488e0cfc232e950433fd2429e51b3ac308
Contents?: true
Size: 484 Bytes
Versions: 36
Compression:
Stored size: 484 Bytes
Contents
# frozen_string_literal: true if ENV["IN_MEMORY_OLTP"] require "config" require "active_record" require "support/config" require "support/connection" ARTest.connect if ActiveRecord::Base.connection.supports_in_memory_oltp? puts "Configuring In-Memory OLTP..." inmem_file = ARTest::SQLServer.test_root_sqlserver, "schema", "enable-in-memory-oltp.sql" inmem_sql = File.read File.join(inmem_file) ActiveRecord::Base.connection.execute(inmem_sql) end end
Version data entries
36 entries across 36 versions & 1 rubygems