Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想在我的服务器上为 ruby on rails 项目运行迁移,但是我在 postgres 中遇到了这种错误-
PGError:错误:关系“last_message_read”已经存在:CREATE TABLE“last_message_read”(“id”序列主键,“message”字符变化(255),“company_id”整数)
所以,我想继续我的迁移,但它没有发生 - 我想忽略那些失败的迁移并继续其余的迁移......
您的迁移有问题。只需重置您的数据库(rake db:reset)。
rake db:reset
At the console.log line in the render method below, it shows that this.member instance is exactly what it should be. So member object is good. I've spit out the string in tpl and it'