Skip to content
Browse files

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

This reverts commit 23a98ff.

[ci skip]
  • Loading branch information...
1 parent 12b6307 commit 6c7c997102e328b5132f8076b5c06107ce459494 @vijaydev vijaydev committed May 19, 2012
View
5 activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb
@@ -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

0 comments on commit 6c7c997

Please sign in to comment.
Something went wrong with that request. Please try again.