1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
<?php
declare(strict_types=1);
namespace DoctrineMigrations;
use App\Utils\IdToUuidMigration;
use Doctrine\DBAL\Schema\Schema;
/**
* Auto-generated Migration: Please modify to your needs!
*/
final class Version20210225123627 extends IdToUuidMigration
{
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 `account_adherent` DROP INDEX `adherentcurrency`;');
$this->addSql('ALTER TABLE `account_comptoir` DROP INDEX `comptoircurrency`;');
$this->addSql('ALTER TABLE `account_groupe` DROP INDEX `groupecurrency`;');
$this->addSql('ALTER TABLE `account_siege` DROP INDEX `siegecurrency`;');
$this->addSql('ALTER TABLE `account_prestataire` DROP INDEX `prestatairecurrency`;');
}
public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
}
public function postUp(Schema $schema): void
{
$this->migrate('achatemlctoconfirm');
$this->migrate('adherent');
$this->migrate('comptoir');
$this->migrate('contact_comptoir');
$this->migrate('contact_prestataire');
$this->migrate('cotisationinfos');
$this->migrate('document');
$this->migrate('etat_prestataire');
$this->migrate('faq');
$this->migrate('flux');
$this->migrate('geoloc');
$this->migrate('geoloc_prestataire');
$this->migrate('global_parameter');
$this->migrate('groupe');
$this->migrate('groupeprestaire');
$this->migrate('import');
$this->migrate('news');
$this->migrate('payment');
$this->migrate('prestataire');
$this->migrate('rubrique');
$this->migrate('siege');
$this->migrate('typepresta');
$this->migrate('user');
$this->migrate('usergroup');
}
}