提交 601cb795 编写于 作者: K Koichi ITO

Fix `test_add_column_with_timestamp_type` when using Oracle

上级 65f861ee
......@@ -273,6 +273,8 @@ def test_add_column_with_timestamp_type
assert_equal "timestamp without time zone", klass.columns_hash["foo"].sql_type
elsif current_adapter?(:Mysql2Adapter)
assert_equal "timestamp", klass.columns_hash["foo"].sql_type
elsif current_adapter?(:OracleAdapter)
assert_equal "TIMESTAMP(6)", klass.columns_hash["foo"].sql_type
else
assert_equal klass.connection.type_to_sql("datetime"), klass.columns_hash["foo"].sql_type
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册