<?php
declare(strict_types=1);
namespace CoreMigrations;
use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;
/**
* Auto-generated Migration: Please modify to your needs!
*/
final class Version20241014071155 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 labels_bundle__print_waiting_list RENAME INDEX idx_7f1f8a497975b7e7 TO IDX_7F1F8A495DA0FB8');
$this->addSql('ALTER TABLE user DROP access_api');
}
public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
$this->addSql('ALTER TABLE user ADD access_api TINYINT(1) DEFAULT 0 NOT NULL');
$this->addSql('ALTER TABLE labels_bundle__print_waiting_list RENAME INDEX idx_7f1f8a495da0fb8 TO IDX_7F1F8A497975B7E7');
}
}