method

reset_pk_sequence!

Importance_1
v3.2.1 - Show latest stable - 0 notes - Class: ActiveRecord::ConnectionAdapters::PostgreSQLAdapter
reset_pk_sequence!(table, pk = nil, sequence = nil) public

Resets the sequence of a table’s primary key to the maximum value.

Show source
Register or log in to add new notes.