Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

This reverts commit 23a98ff.

[ci skip]
  • Loading branch information...
commit 6c7c997102e328b5132f8076b5c06107ce459494 1 parent 12b6307
@vijaydev vijaydev authored
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
Please sign in to comment.
Something went wrong with that request. Please try again.