| 1234567891011121314151617181920212223242526272829303132333435 | <?phpdeclare(strict_types=1);namespace DoctrineMigrations;use Doctrine\DBAL\Schema\Schema;use Doctrine\Migrations\AbstractMigration;/** * Auto-generated Migration: Please modify to your needs! */final class Version20250730100757 extends AbstractMigration{    public function getDescription(): string    {        return '';    }    public function up(Schema $schema): void    {        // this up() migration is auto-generated, please modify it to your needs        $this->addSql('ALTER TABLE gamemaster DROP FOREIGN KEY FK_950236C57E7C2E95');        $this->addSql('DROP INDEX UNIQ_950236C57E7C2E95 ON gamemaster');        $this->addSql('ALTER TABLE gamemaster DROP link_to_user_id');    }    public function down(Schema $schema): void    {        // this down() migration is auto-generated, please modify it to your needs        $this->addSql('ALTER TABLE gamemaster ADD link_to_user_id BINARY(16) DEFAULT NULL COMMENT \'(DC2Type:uuid)\'');        $this->addSql('ALTER TABLE gamemaster ADD CONSTRAINT FK_950236C57E7C2E95 FOREIGN KEY (link_to_user_id) REFERENCES user (id)');        $this->addSql('CREATE UNIQUE INDEX UNIQ_950236C57E7C2E95 ON gamemaster (link_to_user_id)');    }}
 |