This project is archived and is in readonly mode.

#2868 ✓resolved
Hongli Lai

Dumping of non-standard primary keys doesn't work with SQLite3 adapter

Reported by Hongli Lai | July 5th, 2009 @ 09:05 AM | in 2.x

AR::SchemaDumper doesn't correctly detect SQLite3 primary keys. This patch for 2.3 fixes the problem. It also fixes the unit tests: schema_dumper_test.rb assumed that only MySQLAdapter supports non-standard primary key dumping, but in fact PostgreSQLAdapter also supports it, and now SQlite3Adapter does too.

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

People watching this ticket

Referenced by

Pages