Discussion:
error migrating sqlite3 database
Eric Brown
2012-05-11 16:26:17 UTC
Permalink
I'm trying to migrate my database to 2.1, but "bundle exec rake db:migrate
RAILS_ENV=production" fails with the output below. Has anyone else run into
this problem or have suggestions on how to fix it?

Thanks.
Eric


== AdaptToNewAasm: migrating
=================================================
-- change_column_default(:todos, :state, nil)
rake aborted!
An error has occurred, this and all later migrations canceled:

SQLite3::SQLException: object name reserved for internal use:
sqlite_autoindex_todos_1: CREATE UNIQUE INDEX "sqlite_autoindex_todos_1" ON
"todos" ("id")

Loading...