我创建了一个迁移文件
class CreateUsers < ActiveRecord::Migration
def up
create_table :users do |t|
t.string "first_name", :limit=>25
t.string "last_name", :limit=>25
t.string "email", :default=>"" :null=>false
t.string "password", :limit=> 40
t.timestamps
end
end
def down
deop_table :users
end
end
在我尝试使用命令rake db:migrate进行迁移后进行更改后出现错误。 请帮忙