This project is archived and is in readonly mode.

#4990 ✓resolved
Akira Matsuda

rake db:migrate:status fails when schema migrations table does not exist

Reported by Akira Matsuda | June 28th, 2010 @ 04:28 AM

rake db:migrate:status (which were added by #4947) fails with the following exception when any migration had not done yet:

rake aborted!
SQLite3::SQLException: no such table: schema_migrations: SELECT version FROM schema_migrations

Also, this rake task does not aware the AR::Base.table_name_prefix and AR::Base.table_name_suffix.

Attached the patches for those problems.

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

Attachments

Referenced by

Pages