提交 6c7c9971 编写于 作者: V Vijay Dev

Revert "You can add a custom primary key to a table"

This reverts commit 23a98ffb.

[ci skip]
上级 12b6307c
......@@ -141,11 +141,6 @@ def column_exists?(table_name, column_name, type = nil, options = {})
# name varchar(80)
# )
#
# ====== Add a custom primary key column
# create_table(:objects, :id => false) do |t|
# t.string :slug, :primary => true
# end
#
# ====== Do not add a primary key column
# create_table(:categories_suppliers, :id => false) do |t|
# t.column :category_id, :integer
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册