recently I've updated my Joomla on localhost server, where I'm developing templates.
After update, I've got an issue when I was trying install a template. I've got this message below:
Problem solve:Error: Missing field in database: Joomla\CMS\Table\Extension   extension_id
In your template folder open file templateDetails.xml there is line
In my old template I've had not client="site", just make sure and add it.<extension client="site" type="template">
It solved my issue with installing.
I hope it will help you.