Title: Removing IDs from database
Last modified: August 31, 2016

---

# Removing IDs from database

 *  Resolved [Cash1337](https://wordpress.org/support/users/cash1337/)
 * (@cash1337)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/removing-ids-from-database/)
 * Hey,
    I just bought your Pro version. I wanted to ask you how I can remove/restart/
   clean database? I’ve made some rating forms for tests and now new forms are having
   high IDs, even if I have removed previous form. So now I have default form with
   ID 1, but when Im creating new one the ID is 7. I want it to be ID 2 – how can
   I do it? Thanks
 * [https://wordpress.org/plugins/multi-rating/](https://wordpress.org/plugins/multi-rating/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [dpowney](https://wordpress.org/support/users/dpowney/)
 * (@dpowney)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/removing-ids-from-database/#post-7099852)
 * The rating form ids are generated from the database table automatically. You 
   could try executing a database query to restart it at 2 but I haven’t tested 
   this so please take caution.
 * ALTER TABLE table_name AUTO_INCREMENT = 2;
 * Change table_name to the rating forms table.

Viewing 1 replies (of 1 total)

The topic ‘Removing IDs from database’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/multi-rating_d6dfe6.svg)
 * [Multi Rating](https://wordpress.org/plugins/multi-rating/)
 * [Support Threads](https://wordpress.org/support/plugin/multi-rating/)
 * [Active Topics](https://wordpress.org/support/plugin/multi-rating/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/multi-rating/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/multi-rating/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [dpowney](https://wordpress.org/support/users/dpowney/)
 * Last activity: [10 years, 3 months ago](https://wordpress.org/support/topic/removing-ids-from-database/#post-7099852)
 * Status: resolved