api/src/Migrations/Version20230801150800.php
<?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 Version20230801150800 extends AbstractMigration
{
public function up(Schema $schema): void
{
// this up() migration is auto-generated, please modify it to your needs
$this->addSql('UPDATE `structure` set `beneficiary_auto_approval` = true');
$this->addSql("ALTER TABLE `structure` CHANGE `beneficiary_auto_approval` `beneficiary_auto_approval` TINYINT(1) NULL DEFAULT '1'");
}
public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
}
}