Database schema upgrade
The following Magento 2 tutorial will help you upgrade script for a new version of your extension by adding new tables and columns to a database.

1. Go to the Setup folder and create a new UpgradeSchema.php file:
2. In module.xml change setup_version
3. Open CLI and run the following command:
Source (
