aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/migration_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord/test/migration_test.rb')
-rw-r--r--activerecord/test/migration_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/test/migration_test.rb b/activerecord/test/migration_test.rb
index 825244d88e..0757c6a0c9 100644
--- a/activerecord/test/migration_test.rb
+++ b/activerecord/test/migration_test.rb
@@ -692,7 +692,7 @@ if ActiveRecord::Base.connection.supports_migrations?
assert_nothing_raised {
Person.connection.create_table :binary_testings do |t|
- t.column "data", :binary, :default => "", :null => false
+ t.column "data", :binary, :null => false
end
}
@@ -702,7 +702,7 @@ if ActiveRecord::Base.connection.supports_migrations?
if current_adapter?(:OracleAdapter)
assert_equal "empty_blob()", data_column.default
else
- assert_equal "", data_column.default
+ assert_nil data_column.default
end
Person.connection.drop_table :binary_testings rescue nil