rails--rails/activerecord/test
Jacob Dunphy e6493eb9b7 Sqlite adapter's copy_table incorrectly attempts to recreate a primary key id (:id => true in the create_table) if an :id column is present, even if it isn't a primary_key.
This fix sets :id => false if there is an :id column, but it's not the primary_key.

Signed-off-by: Michael Koziarski <michael@koziarski.com>
[#1766 state:committed]
2009-01-29 17:34:33 +13:00
..
assets
cases Sqlite adapter's copy_table incorrectly attempts to recreate a primary key id (:id => true in the create_table) if an :id column is present, even if it isn't a primary_key. 2009-01-29 17:34:33 +13:00
connections Adding AR tests for JDBC connections 2009-01-26 16:08:44 +13:00
fixtures Preload uses exclusive scope [#643 state:resolved] 2008-12-26 18:25:55 +00:00
migrations Made migrations transactional for PostgreSQL [#834 state:resolved] 2008-08-22 14:46:25 -07:00
models Make sure inner scope conditions get a preference over the outer ones 2009-01-24 17:54:10 +00:00
schema Sqlite adapter's copy_table incorrectly attempts to recreate a primary key id (:id => true in the create_table) if an :id column is present, even if it isn't a primary_key. 2009-01-29 17:34:33 +13:00
config.rb