method
set_pk_sequence!
v4.2.7 -
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.