diff options
author | Jacob Dunphy <jacob.dunphy@gmail.com> | 2009-01-15 13:30:44 -0800 |
---|---|---|
committer | Michael Koziarski <michael@koziarski.com> | 2009-01-29 17:34:33 +1300 |
commit | e6493eb9b76de73afef2706493efd090dfff4ecc (patch) | |
tree | bd2fb28d979c63f3a87e79f7c319ef86cf236fb4 /actionpack/test/controller/html-scanner | |
parent | feed7b4cfd860bdc9f5b4efc2ca2af76cb01d55d (diff) | |
download | rails-e6493eb9b76de73afef2706493efd090dfff4ecc.tar.gz rails-e6493eb9b76de73afef2706493efd090dfff4ecc.tar.bz2 rails-e6493eb9b76de73afef2706493efd090dfff4ecc.zip |
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]
Diffstat (limited to 'actionpack/test/controller/html-scanner')
0 files changed, 0 insertions, 0 deletions