Skip to content

Commit bc97dd9

Browse files
committed
Merge branch 'main' into dumper-non-dbo-table-schemas
2 parents 216661f + 6d75c85 commit bc97dd9

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
7.2.0.beta2
1+
7.2.0.beta1

activerecord-sqlserver-adapter.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,6 @@ Gem::Specification.new do |spec|
2727
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
2828
spec.require_paths = ["lib"]
2929

30-
spec.add_dependency "activerecord", "~> 7.2.0.beta2"
30+
spec.add_dependency "activerecord", "~> 7.2.0.beta3"
3131
spec.add_dependency "tiny_tds"
3232
end

test/cases/specific_schema_test_sqlserver.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ def quoted_id
171171

172172
it "returns the correct primary columns" do
173173
connection = ActiveRecord::Base.lease_connection
174-
assert_equal "field_1", connection.columns("test.sst_schema_test_mulitple_schema").detect(&:is_primary?).name
175-
assert_equal "field_2", connection.columns("test2.sst_schema_test_mulitple_schema").detect(&:is_primary?).name
174+
assert_equal "field_1", connection.columns("test.sst_schema_test_multiple_schema").detect(&:is_primary?).name
175+
assert_equal "field_2", connection.columns("test2.sst_schema_test_multiple_schema").detect(&:is_primary?).name
176176
end
177177
end

test/schema/sqlserver_specific_schema.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -304,17 +304,17 @@
304304
)
305305
NATURALPKTABLESQLINOTHERSCHEMA
306306

307-
execute "IF EXISTS(SELECT * FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_NAME = 'sst_schema_test_mulitple_schema' and TABLE_SCHEMA = 'test') DROP TABLE test.sst_schema_test_mulitple_schema"
307+
execute "IF EXISTS(SELECT * FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_NAME = 'sst_schema_test_multiple_schema' and TABLE_SCHEMA = 'test') DROP TABLE test.sst_schema_test_multiple_schema"
308308
execute <<-SCHEMATESTMULTIPLESCHEMA
309-
CREATE TABLE test.sst_schema_test_mulitple_schema(
309+
CREATE TABLE test.sst_schema_test_multiple_schema(
310310
field_1 int NOT NULL PRIMARY KEY,
311311
field_2 int,
312312
)
313313
SCHEMATESTMULTIPLESCHEMA
314314
execute "IF NOT EXISTS(SELECT * FROM sys.schemas WHERE name = 'test2') EXEC sp_executesql N'CREATE SCHEMA test2'"
315-
execute "IF EXISTS(SELECT * FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_NAME = 'sst_schema_test_mulitple_schema' and TABLE_SCHEMA = 'test2') DROP TABLE test2.sst_schema_test_mulitple_schema"
315+
execute "IF EXISTS(SELECT * FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_NAME = 'sst_schema_test_multiple_schema' and TABLE_SCHEMA = 'test2') DROP TABLE test2.sst_schema_test_multiple_schema"
316316
execute <<-SCHEMATESTMULTIPLESCHEMA
317-
CREATE TABLE test2.sst_schema_test_mulitple_schema(
317+
CREATE TABLE test2.sst_schema_test_multiple_schema(
318318
field_1 int,
319319
field_2 int NOT NULL PRIMARY KEY,
320320
)

0 commit comments

Comments
 (0)