提交 256a15c2 编写于 作者: C Cezary Baginski 提交者: Jeremy Kemper

AR: fixed postgres fixture tests [#4519 state:resolved]

Signed-off-by: NJeremy Kemper <jeremy@bitsweat.net>
上级 1b33a151
......@@ -516,7 +516,7 @@ def self.create_fixtures(fixtures_directory, table_names, class_names = {})
# Cap primary key sequences to max(pk).
if connection.respond_to?(:reset_pk_sequence!)
table_names.each do |table_name|
connection.reset_pk_sequence!(table_name)
connection.reset_pk_sequence!(table_name.tr('/', '_'))
end
end
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册