mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
parent
f61f758761
commit
c376fd488c
1 changed files with 1 additions and 1 deletions
|
@ -83,7 +83,7 @@ HEADER
|
|||
|
||||
# first dump primary key column
|
||||
if @connection.respond_to?(:pk_and_sequence_for)
|
||||
pk = @connection.pk_and_sequence_for(table).first
|
||||
pk, pk_seq = @connection.pk_and_sequence_for(table)
|
||||
elsif @connection.respond_to?(:primary_key)
|
||||
pk = @connection.primary_key(table)
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue