Migration1623828962ChangeColumnAppNameAndAppVersionInWebhookEventLog example

protected function setUp(): void
    {
        $this->connection = $this->getContainer()->get(Connection::class);
        $this->connection->rollBack();
        $this->connection->executeStatement(' ALTER TABLE `webhook_event_log` MODIFY COLUMN `app_name` VARCHAR(255) NOT NULL, MODIFY COLUMN `app_version` VARCHAR(255) NOT NULL; ');

        $migration = new Migration1623828962ChangeColumnAppNameAndAppVersionInWebhookEventLog();
        $migration->update($this->connection);

        $this->connection->beginTransaction();
    }

    public function testItChangeColumnAppNameAndAppVersionSuccessfully(): void
    {
        $this->connection->executeStatement('DELETE FROM webhook_event_log');

        $context = Context::createDefaultContext();

        
Home | Imprint | This part of the site doesn't use cookies.