mirror of
https://github.com/github/rails.git
synced 2026-04-04 03:00:58 -04:00
Also optimized Migrator#current_version class method to fetch only the latest version number and not all of them. With this change no matter how many migrations there are the schema_migrations table is only SELECTed from once. Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>