We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e2efd1 commit 48b7493Copy full SHA for 48b7493
test/test_helper.rb
@@ -35,10 +35,11 @@ def setup
35
# only instanciate ActiveRecord::SchemaMigration with the right connection for Activerecord 7.1 or above
36
if Gem::Requirement.new('>=7.1.0').satisfied_by?(Gem::Version.new(::ActiveRecord::VERSION::STRING))
37
ActiveRecord::SchemaMigration.new(@connection).create_table
38
+ ActiveRecord::InternalMetadata.new(@connection).create_table
39
else
40
ActiveRecord::SchemaMigration.create_table
41
+ ActiveRecord::InternalMetadata.create_table
42
end
- ActiveRecord::InternalMetadata.create_table
43
ActiveRecord::Migration.verbose = false
44
@connection.execute("SET statement_timeout TO '70s'")
45
@connection.execute("SET lock_timeout TO '70s'")
0 commit comments