提交 ff8d9c7e 编写于 作者: A amitkumarsuroliya

Fix proper fonts in `change_column_null` method docs. [ci skip]

上级 210f33c4
......@@ -507,7 +507,7 @@ def change_column_default(table_name, column_name, default_or_changes)
raise NotImplementedError, "change_column_default is not implemented"
end
# Sets or removes a +NOT NULL+ constraint on a column. The +null+ flag
# Sets or removes a <tt>NOT NULL</tt> constraint on a column. The +null+ flag
# indicates whether the value can be +NULL+. For example
#
# change_column_null(:users, :nickname, false)
......@@ -519,7 +519,7 @@ def change_column_default(table_name, column_name, default_or_changes)
# allows them to be +NULL+ (drops the constraint).
#
# The method accepts an optional fourth argument to replace existing
# +NULL+s with some other value. Use that one when enabling the
# <tt>NULL</tt>s with some other value. Use that one when enabling the
# constraint if needed, since otherwise those rows would not be valid.
#
# Please note the fourth argument does not set a column's default.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册