我已经为refinerycms 安装了一个运行良好的博客引擎。
现在我已经生成了一个迁移,其中包含一些表字段更改(当然不是精炼cms 或博客表),但是我收到了一个错误:
== CreateBlogStructure: 迁移 =============================================
- - create_table("refinery_blog_posts", {:id=>true})
注意:CREATE TABLE 将为串行列 "refinery_blog_posts.id" 创建隐式序列 "refinery_blog_posts_id_seq1"
rake 中止!
发生错误,此迁移和所有后续迁移均已取消:PG::Error: 错误:关系“refinery_blog_posts”已经存在
:CREATE TABLE“refinery_blog_posts”(“id”序列主键,“title”字符变化(255),“body”文本,“draft”布尔值,“published_at”时间戳,“created_at”时间戳不为空,“updated_at”时间戳不为空)任务:TOP => db:migrate
(通过使用 --trace 运行任务查看完整跟踪)