splendeo / activerecord-reset-pk-sequence

Allows resetting the id of an AR table to 0. Useful after a delete_all. Works in Postgres and Sqlite (not MySQL) for now.
MIT License
20 stars 6 forks source link

mysql2 adapter error #3

Open Awatatah opened 7 years ago

Awatatah commented 7 years ago

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'
Shincham commented 7 years ago

It only supports SQLite, Mysql and PostgreSQL.

mysql2 is not supported yet.