<?php
declare(strict_types=1);
namespace InventoriesBundleMigrations;
use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;
final class Version20231206131751 extends AbstractMigration
{
public function up(Schema $schema): void
{
$this->addSql('ALTER TABLE inventories_bundle__inventory_original_product CHANGE inventory_id inventory_id BINARY(16) NOT NULL COMMENT \'(DC2Type:uuid)\'');
$this->addSql('ALTER TABLE inventories_bundle__inventory_product CHANGE inventory_id inventory_id BINARY(16) NOT NULL COMMENT \'(DC2Type:uuid)\'');
}
public function down(Schema $schema): void
{
$this->addSql('ALTER TABLE inventories_bundle__inventory_original_product CHANGE inventory_id inventory_id BINARY(16) DEFAULT NULL COMMENT \'(DC2Type:uuid)\'');
$this->addSql('ALTER TABLE inventories_bundle__inventory_product CHANGE inventory_id inventory_id BINARY(16) DEFAULT NULL COMMENT \'(DC2Type:uuid)\'');
}
}