Initial commit: CloudOps infrastructure platform

This commit is contained in:
root
2026-04-09 19:58:57 +02:00
commit 1166a52f26
7762 changed files with 839452 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
<?php
namespace Mautic\Migrations;
use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\Exception\SkipMigration;
use Mautic\CoreBundle\Doctrine\AbstractMauticMigration;
/**
* Auto-generated Migration: Please modify to your needs!
*/
class Version20190326190241 extends AbstractMauticMigration
{
/**
* @throws SkipMigration
* @throws \Doctrine\DBAL\Schema\SchemaException
*/
public function preUp(Schema $schema): void
{
if ($schema->getTable("{$this->prefix}campaign_events")->hasColumn('failed_count')) {
throw new SkipMigration('Schema includes this migration');
}
}
public function up(Schema $schema): void
{
$this->addSql("ALTER TABLE {$this->prefix}campaign_events ADD failed_count INT NOT NULL;");
}
}