method

reset_pk_sequence!

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

Resets sequence to the max value of the table’s pk if present.

Show source
Register or log in to add new notes.