aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorVijay Dev <vijaydev.cse@gmail.com>2012-05-19 17:38:44 +0530
committerVijay Dev <vijaydev.cse@gmail.com>2012-05-19 17:38:44 +0530
commit6c7c997102e328b5132f8076b5c06107ce459494 (patch)
tree41f2ffe61f662893e4fdaca93266adcb66d8a976 /activerecord
parent12b6307c89118bc1178fe8c24190c0fa559a9afa (diff)
downloadrails-6c7c997102e328b5132f8076b5c06107ce459494.tar.gz
rails-6c7c997102e328b5132f8076b5c06107ce459494.tar.bz2
rails-6c7c997102e328b5132f8076b5c06107ce459494.zip
Revert "You can add a custom primary key to a table"
This reverts commit 23a98ffbd9b39ee70094ded1671cf1879d0d3591. [ci skip]
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb5
1 files changed, 0 insertions, 5 deletions
diff --git a/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb b/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb
index 40dc105d5e..62b0f51bb2 100644
--- a/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb
+++ b/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb
@@ -141,11 +141,6 @@ module ActiveRecord
# 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