Skip to content

Commit 77ee429

Browse files
committed
Dump the precision for datetime columns following the new defaults
1 parent e2cb6d3 commit 77ee429

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/cases/schema_dumper_test_sqlserver.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ class SchemaDumperTestSQLServer < ActiveRecord::TestCase
7979
assert_line :float_col, type: "float", limit: nil, precision: nil, scale: nil, default: nil
8080
assert_line :string_col, type: "string", limit: nil, precision: nil, scale: nil, default: nil
8181
assert_line :text_col, type: "text", limit: nil, precision: nil, scale: nil, default: nil
82-
assert_line :datetime_col, type: "datetime", limit: nil, precision: 6, scale: nil, default: nil
82+
assert_line :datetime_col, type: "datetime", limit: nil, precision: nil, scale: nil, default: nil
8383
assert_line :timestamp_col, type: "datetime", limit: nil, precision: nil, scale: nil, default: nil
8484
assert_line :time_col, type: "time", limit: nil, precision: 7, scale: nil, default: nil
8585
assert_line :date_col, type: "date", limit: nil, precision: nil, scale: nil, default: nil

0 commit comments

Comments
 (0)