When we start writing Magento modules (in both versions 1.x or 2.x) sooner or later, we will need to change database schema and/or data. Magento provides a way to do this by using Install and Upgrade scripts. Using these scripts, we can
- Install or Upgrade the Database Schema
- Install or Upgrade data
In a self sustainable way while keep tracking of the changes done to the system.