提交 708b5c0d 编写于 作者: Y Yasuo Honda

Modity the :json_data_empty attribute from `:null => false` to `:null => true`

to address ORA-01400 errors with Oracle enhanced adapter.

The original commit 3c0bf043 requires :json_data_empty attribute
has empty string OR null, then setting `:default => ""` is enough.
上级 1fab518c
......@@ -42,7 +42,7 @@ def create_table(*args, &block)
# big varchar below.
t.string :preferences, :null => true, :default => '', :limit => 1024
t.string :json_data, :null => true, :limit => 1024
t.string :json_data_empty, :null => false, :default => "", :limit => 1024
t.string :json_data_empty, :null => true, :default => "", :limit => 1024
t.references :account
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册