mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
AR: fixed postgres fixture tests [#4519 state:resolved]
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
This commit is contained in:
parent
1b33a151b2
commit
256a15c235
1 changed files with 1 additions and 1 deletions
|
@ -516,7 +516,7 @@ class Fixtures < (RUBY_VERSION < '1.9' ? YAML::Omap : Hash)
|
||||||
# Cap primary key sequences to max(pk).
|
# Cap primary key sequences to max(pk).
|
||||||
if connection.respond_to?(:reset_pk_sequence!)
|
if connection.respond_to?(:reset_pk_sequence!)
|
||||||
table_names.each do |table_name|
|
table_names.each do |table_name|
|
||||||
connection.reset_pk_sequence!(table_name)
|
connection.reset_pk_sequence!(table_name.tr('/', '_'))
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue