【发布时间】:2011-12-11 03:44:40
【问题描述】:
我正在使用 DoctrineFixturesBundle 并尝试加载固定装置
app/console -e=test doctrine:fixtures:load --purge-with-truncate
postgres 数据库中的所有数据。但是为什么在 --purge-with-truncate 表序列之后没有重新启动,而只是随着每个夹具加载而增加? 我如何阅读 postgres 截断文档
RESTART IDENTITY
Automatically restart sequences owned by columns of the truncated table(s).
可能是实体生成不正确?
【问题讨论】:
标签: postgresql doctrine doctrine-orm symfony fixtures