<?php

namespace Sibs\Sibs\Setup;

use Magento\Framework\Setup\ModuleContextInterface;
use Magento\Framework\Setup\SchemaSetupInterface;
use Magento\Framework\Setup\UpgradeSchemaInterface;
use Sibs\Sibs\Setup\Migrations\UpgradeSchema221;
use Sibs\Sibs\Setup\Migrations\UpgradeSchema245;
use Sibs\Sibs\Setup\Migrations\UpgradeSchema248;

class UpgradeSchema implements UpgradeSchemaInterface
{
    /**
     * @inheritdoc
     */
    public function upgrade(
        SchemaSetupInterface $setup,
        ModuleContextInterface $context
    ) {
        $setup->startSetup();

        (new UpgradeSchema221($context))->upgrade($setup);
        (new UpgradeSchema245($context))->upgrade($setup);
        (new UpgradeSchema248($context))->upgrade($setup);
        // add new migrations here

        $setup->endSetup();
    }
}
