提交 b1e53c07 编写于 作者: Y Yasuo Honda

[ci skip] Remove `DEFAULT NULL` from examples

上级 93475383
......@@ -158,7 +158,7 @@ def column_exists?(table_name, column_name, type = nil, options = {})
# generates:
#
# CREATE TABLE suppliers (
# id int(11) DEFAULT NULL auto_increment PRIMARY KEY
# id int(11) auto_increment PRIMARY KEY
# ) ENGINE=InnoDB DEFAULT CHARSET=utf8
#
# ====== Rename the primary key column
......@@ -170,7 +170,7 @@ def column_exists?(table_name, column_name, type = nil, options = {})
# generates:
#
# CREATE TABLE objects (
# guid int(11) DEFAULT NULL auto_increment PRIMARY KEY,
# guid int(11) auto_increment PRIMARY KEY,
# name varchar(80)
# )
#
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册