Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

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

#2868

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.

Reported by Hongli Lai · July 5th, 2009 @ 09:05 AM

State: resolved
Milestone: 2.x
Assigned to: nobody
Importance: none