WordPress has facility to automatically repair the wordpress database. If there is an issue with wordpress database with wordpress version.
how to repair wordpress database automatically
If you upgraded the wordpress then this feature is very helpful.
wordpress API provided a facility to repair the wordpress database automatically.
We just need to put following code in your worpdress configuration file.
Open your wp-config.php file and put following code in that file. After following line you can put the code.
This functionality is very important for new or old users of wordpress who have no knowledge about wordpress codebase. If you are having issue or problem with wordpress database then just put above line in wp-config.php file.
Using this setting wordpress will automatically repair the tables with new upgraded version of wordpress.