I have installed fresh Magento 2.2.6 and i have installed two custom modules.
Then i have upgraded the Magento Version to 2.3.1 now i am trying to generate db_schema file for those module using below command.
php bin/magento setup:install --convert-old-scripts=1
Error:
[Symfony\Component\Console\Exception\RuntimeException]
The "--convert-old-scripts" option does not exist.