<?php
declare(strict_types=1);
namespace DoctrineMigrations;
use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;
/**
* Auto-generated Migration: Please modify to your needs!
*/
final class Version20220819042055 extends AbstractMigration
{
public function getDescription(): string
{
return '';
}
public function up(Schema $schema): void
{
$this->addSql("INSERT IGNORE INTO material_variation(name, code, uuid)
VALUES
('Black', 'material_variation.black', UUID()),
('White', 'material_variation.white', UUID()),
('Kraft', 'material_variation.craft', UUID())
"
);
}
public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
}
}