Modules are outdated:  schema version none?

If you are getting the following modules are outdated issue:

Vendor_Module schema: current version - none, required version - b.b.b
Vendor_Module data: current version - none, required version - b.b.b,

Then you need the go to database (Related Magento database) and run this query.

UPDATE `table_prefix_setup_module` SET schema_version="a.a.a", data_version="a.a.a" WHERE  module="Vendor_Module";

Now run this command

php bin/magento setup:upgrade 

hurrah !!! you have successfully resolved your issue.