• InstallSchema.php : sets up table/column schema when the module is installed.
  • UpgradeSchema.php: modifies table/column schema when the module version is upgraded.
  • Recurring.php: runs after every install or upgrade.
  • InstallData.php: sets up data when the module is installed. An example would be adding a custom CMS block.
  • UpgradeData.php: modifies data after the module is installed, when the module version is upgraded.
  • RecurringData.php: applies to data after every install or upgrade.