Thread:Project:Support desk/MediaWiki database error after running enwiki-latest-page.sql

Earlier the link machineName/mediawiki/index.php/Search_term was working. Some pages were missing from page table, so on running enwiki-latest-page.sql the page table got recreated with missing pages but after this the same link gave this error :

A database error has occurred. Did you forget to run maintenance/update.php after upgrading? See: https://www.mediawiki.org/wiki/Manual:Upgrading#Run_the_update_script Query: SELECT page_id,page_len,page_is_redirect,page_latest,page_content_model FROM `page` WHERE page_namespace = '0' AND page_title = 'Main_Page' LIMIT 1 Function: LinkCache::addLinkObj Error: 1054 Unknown column 'page_content_model' in 'field list' (localhost)

Also the as page table stores only the page id, the revision table and text table still had no missing pages record. In wikipedia dumps, why .sql files for only some tables are provided ? Initially mwdumper was used to fill some tables using page-articles.xml. So what is the purpose of .sql files in wikipedia dumps ? How to solve this database error ?