提交 85629c83 编写于 作者: V Vijay Dev

fix a broken test

The commit 2f632f53 extracted the
options into constants and while doing so, there was a minor error of
using a wrong constant name.
上级 b435ea95
......@@ -18,7 +18,7 @@ def parse(column_definition)
# if user provided "name:index" instead of "name:string:index"
# type should be set blank so GeneratedAttribute's constructor
# could set it to :string
has_index, type = type, nil if UNIQ_INDEX_OPTIONS.include?(type)
has_index, type = type, nil if INDEX_OPTIONS.include?(type)
type, attr_options = *parse_type_and_options(type)
new(name, type, has_index, attr_options)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册