final class Version20201015151054 extends AbstractMigration
11
{
12
public function getDescription(): string
13
{
14
return '';
15
}
16
17
public function up(Schema $schema): void
18
{
19
// this up() migration is auto-generated, please modify it to your needs
20
$this->abortIf($this->connection->getDatabasePlatform()->getName() !== 'mysql', 'Migration can only be executed safely on \'mysql\'.');
21
22
$this->addSql('CREATE TABLE bitbag_mollie_customer (id INT AUTO_INCREMENT NOT NULL, profile_id VARCHAR(255) NOT NULL, email VARCHAR(255) NOT NULL, UNIQUE INDEX UNIQ_162C0BF1CCFA12B8 (profile_id), UNIQUE INDEX UNIQ_162C0BF1E7927C74 (email), PRIMARY KEY(id)) DEFAULT CHARACTER SET UTF8 COLLATE `UTF8_unicode_ci` ENGINE = InnoDB');
23
}
24
25
public function down(Schema $schema): void
26
{
27
// this down() migration is auto-generated, please modify it to your needs
28
$this->abortIf($this->connection->getDatabasePlatform()->getName() !== 'mysql', 'Migration can only be executed safely on \'mysql\'.');