method
reset_sequence!
Ruby on Rails latest stable (v6.1.7.7)
-
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.