remove unused and untested API

This commit is contained in:
Aaron Patterson 2014-10-31 18:07:56 -07:00
parent 3dae34e217
commit bc3490c156

@ -294,12 +294,8 @@ def serial_sequence(table, column)
end end
# Sets the sequence of a table's primary key to the specified value. # Sets the sequence of a table's primary key to the specified value.
def set_pk_sequence!(table, value, pk = nil, sequence = nil) #:nodoc: def set_pk_sequence!(table, value) #:nodoc:
unless pk and sequence pk, sequence = pk_and_sequence_for(table)
default_pk, default_sequence = pk_and_sequence_for(table)
pk ||= default_pk
sequence ||= default_sequence
end
if pk if pk
if sequence if sequence