I'm getting the following error when I try to install my extension.
Please upgrade your database: Run "bin/magento setup:upgrade" from the Magento root directory.
The following modules are outdated:
Mymodule_Example data: current version - none, required version - 2.0.0
The database entry in setup_module looks like this:
This is my module.xml file:
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
<module name="Mymodule_Example" setup_version="2.0.0">
</module>
</config>
Is there something I'm missing to ensure the data version gets added to the DB? A result of this also means my setup scripts aren't running.