getTable('api_key_roles'); $nameColumn = $rolesTable->getColumn('role_name'); $nameColumn->setLength(255); } public function down(Schema $schema): void { } public function isTransactional(): bool { return $this->connection->getDatabasePlatform()->getName() !== 'mysql'; } }