What is UpgradeSchema in Magento2

What is UpgradeSchema – setup class in Magento2:

We can introduce new column filed into table (or) we can drop the column from the existing table and we can create product attribute etc .. using this upgradescheme script. Here, in this example am going to create new column called created_at column into jute_ecommerce table.

upgradeschema

Once script is ready then update your module.xml file with new schema & setup version. And then run upgrade command on terminal.

Ex: root> php bin/magento setup:upgrade

CORNER OF BLOG:

“Save Life Donate Blood”