activerecord-reset-pk-sequence
activerecord-reset-pk-sequence copied to clipboard
Allows resetting the id of an AR table to 0. Useful after a delete_all. Works in Postgres and Sqlite (not MySQL) for now.
Results
2
activerecord-reset-pk-sequence issues
Sort by
recently updated
recently updated
newest added
Getting following error with mysql2 adapter ``` Task not implemented for this DB adapter /usr/local/bundle/gems/activerecord-reset-pk-sequence-0.2.1/lib/activerecord-reset-pk-sequence.rb:18:in `reset_pk_sequence' ```