method
reset_sequence!
v5.0.0.1 -
Show latest stable
-
0 notes -
Class: ActiveRecord::ConnectionAdapters::DatabaseStatements
reset_sequence!(table, column, sequence = nil)
public
Set the sequence to the max value of the table’s column.