This project is archived and is in readonly mode.

#1 ✓committed
Ian White

Migrations will not run on a fresh database

Reported by Ian White | April 14th, 2008 @ 06:33 PM

When migrating to a specified version on a clean db, the schema_migrations table can't be found, and an error is raised.

On a clean rails app:

  script/generate migration Foo
         create  db/migrate
         create  db/migrate/20080414172731_foo.rb

  rake db:migrate VERSION=20080414172731
         rake aborted!
         SQLite3::SQLException: no such table: schema_migrations: SELECT version FROM schema_migrations

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