2015-09-09 13 views
0

我想从具有三个新迁移文件的分支部署。在部署中获取PG重复表错误

但是,在部署时出现错误。

这是日志输出:

DEBUG [50e68bc0] == CreateLimitGroups: migrating 
============================================== 
DEBUG [50e68bc0] -- create_table(:limit_groups) 
DEBUG [50e68bc0] rake aborted! 
DEBUG [50e68bc0] An error has occurred, this and all later migrations canceled: 
DEBUG [50e68bc0]  
DEBUG [50e68bc0] PG::DuplicateTable: ERROR: relation "limit_groups" already exists 

这究竟是为什么? 可能来自模式版本冲突?

回答

0

此消息表示您已拥有此表。你可以在postgresql菜单中manyally删除它。

只要确保此表为空。

相关问题