method

reset_sequence!

rails latest stable - Class: ActiveRecord::ConnectionAdapters::FrontBaseAdapter

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v1.2.6) is shown here.

reset_sequence!(table, column, sequence = nil)
public

Set the sequence to the max value of the table’s column.