use Shopware\Core\Framework\Plugin\Context\ActivateContext;
use Shopware\Core\Framework\Plugin\Context\DeactivateContext;
use Shopware\Core\Framework\Plugin\Context\InstallContext;
use Shopware\Core\Framework\Plugin\Context\UninstallContext;
use Shopware\Core\Framework\Plugin\Context\UpdateContext;
class SwagManualMigrationTest extends Plugin
{ public function install(InstallContext
$installContext): void
{ $installContext->
setAutoMigrate(false
);
$installContext->
getMigrationCollection()->
migrateInPlace(1
);
} public function update(UpdateContext
$updateContext): void
{ $updateContext->
setAutoMigrate(false
);
$updateContext->
getMigrationCollection()->
migrateDestructiveInPlace(1
);
$updateContext->
getMigrationCollection()->
migrateInPlace(3
);
} public function activate(ActivateContext
$activateContext): void
{