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