我是新來的回報率,我不斷收到此錯誤信息:
$ rake db:migrate
== CreateUsers: migrating ====================================================
-- create_table(:users)
rake aborted!
An error has occurred, this and all later migrations canceled:
SQLite3::SQLException: table "users" already exists: CREATE TABLE "users" ("id"
INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "email" varchar
(255), "created_at" datetime, "updated_at" datetime)
Tasks: TOP => db:migrate
(See full trace by running task with --trace)
我一直在尋找3天的解決方案,但我似乎無法找到任何適合我的東西。
非常感謝您的幫助:) PS - 我正在使用Windows。
謝謝皮特!這工作! – Michele 2011-12-21 12:50:42
謝謝。我也解決了這個問題。通過刪除我的數據庫來解決 – 2012-02-13 04:55:33