<?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 Version20240809053125 extends AbstractMigration
{
public function getDescription(): string
{
return '';
}
public function up(Schema $schema): void
{
$this->addSql("UPDATE terminology
SET singular_text = CASE
WHEN id = 6 THEN 'User Type'
WHEN id = 7 THEN 'User'
WHEN id = 9 THEN 'User Privilege'
WHEN id = 10 THEN 'Project'
WHEN id = 11 THEN 'Continuous Improvement Charter'
WHEN id = 12 THEN 'Action Plan'
WHEN id = 13 THEN 'Production Process'
WHEN id = 14 THEN 'Board'
WHEN id = 15 THEN 'Production Planning'
WHEN id = 16 THEN 'Daily Plan'
END,
plural_text = CASE
WHEN id = 6 THEN 'User Type'
WHEN id = 7 THEN 'Users'
WHEN id = 9 THEN 'User Privileges'
WHEN id = 10 THEN 'Project'
WHEN id = 11 THEN 'Continuous Improvement Charter'
WHEN id = 12 THEN 'Action Plan'
WHEN id = 13 THEN 'Production Process'
WHEN id = 14 THEN 'Boards'
WHEN id = 15 THEN 'Production Planning'
WHEN id = 16 THEN 'Daily Plans'
END
WHERE id IN (6, 7, 9, 10, 11, 12, 13, 14, 15, 16)
");
}
public function down(Schema $schema): void
{
$this->addSql("UPDATE terminology
SET singular_text = CASE
WHEN id = 6 THEN 'User Type'
WHEN id = 7 THEN 'User'
WHEN id = 9 THEN 'User Privilege'
WHEN id = 10 THEN 'Project'
WHEN id = 11 THEN 'Continuous Improvement Charter'
WHEN id = 12 THEN 'Action Plan'
WHEN id = 13 THEN 'Production process'
WHEN id = 14 THEN 'board'
WHEN id = 15 THEN 'Production planning'
WHEN id = 16 THEN 'Daily plan'
END,
plural_text = CASE
WHEN id = 6 THEN 'User Type'
WHEN id = 7 THEN 'Users'
WHEN id = 9 THEN 'User Privileges'
WHEN id = 10 THEN 'Project'
WHEN id = 11 THEN 'Continuous Improvement Charter'
WHEN id = 12 THEN 'Action Plan'
WHEN id = 13 THEN 'Production process'
WHEN id = 14 THEN 'boards'
WHEN id = 15 THEN 'Production planning'
WHEN id = 16 THEN 'Daily plans'
END
WHERE id IN (6, 7, 9, 10, 11, 12, 13, 14, 15, 16)
");
}
}