I've backed up my Multisite database (via export from PhpMyAdmin) then after some problems I decided to revert back the original (backed-up database) and I've imported (upload it via PhpMyAdmin) again (and I deleted the file on my pc).
But after some time, I've faced some problem about posts, pages, and other post types on all my sites (I couldn't add new pages, page ids becomes 0 (more than one)). I've read some posts about this issue (database indexes, unique keys and other structural data has been corrupted). I understand that, either import process was broken or my export file have has some problems.
While I think I've resolved the problems, this time same things happens for taxonomies. While I check my taxonomy related tables (of all multi-site databases), I see that there is no any unique keys, indexes, primary keys, Auto Increment fields etc in my database..
As a result, is there any way to fix this issue by a script or SQL command?