This project is archived and is in readonly mode.
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
-
Repository June 28th, 2010 @ 05:16 AM
- State changed from new to resolved
(from [4f74d449eee1e3d1621ed032532076492a1bf0b3]) Avoid "no such table" exception when schema migrations table does not exist
[#4990 state:resolved]
Signed-off-by: Jeremy Kemper jeremy@bitsweat.net
http://github.com/rails/rails/commit/4f74d449eee1e3d1621ed032532076...
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
- Nobody is watching this ticket.
Attachments
Tags
Referenced by
- 4947 rake db:migrate:status As I found some problems while playing with it, posted pa...
- 4990 rake db:migrate:status fails when schema migrations table does not exist [#4990 state:resolved]