method
set_pk_sequence!
v5.0.0.1 -
Show latest stable
- Class:
ActiveRecord::ConnectionAdapters::PostgreSQL::SchemaStatements
set_pk_sequence!(table, value)public
Sets the sequence of a table’s primary key to the specified value.
set_pk_sequence!(table, value)Sets the sequence of a table’s primary key to the specified value.