getTable(self::TABLE); $this->skipIf($apiKeys->hasColumn(self::COLUMN)); $apiKeys->addColumn( self::COLUMN, Types::STRING, [ 'notnull' => false, ], ); } public function down(Schema $schema): void { $apiKeys = $schema->getTable(self::TABLE); $this->skipIf(! $apiKeys->hasColumn(self::COLUMN)); $apiKeys->dropColumn(self::COLUMN); } public function isTransactional(): bool { return $this->connection->getDatabasePlatform()->getName() !== 'mysql'; } }