code: public static function renameColumn(
          $strTableName,
          $strColumnName,
          $strNewColumnName,
          $strNewType,
          $blnAllowSystemCol = false
      ) {
          if ($strColumnName != $strNewColumnName) {
              self::checkColumnExists($strTableName, $strColumnName, $blnAllowSystemCol);
              self::checkColumnDoesNotExist($strTableName, $strNewColumnName, $blnAllowSystemCol);
          }
          self::getDB()->execute(
              sprintf(
                  self::STATEMENT_RENAME_COLUMN,
                  $strTableName,
                  $strColumnName,
                  $strNewColumnName,
                  $strNewType
              )
          );
      }
docs: Rename a column and/or change it's type in a table.
  
  Throws Exception if the table does not exist, the column name is invalid or the column already exists.
  
  @param string  $strTableName      The name of the table the column is in.
  
  @param string  $strColumnName     The current name of the column to be renamed.
  
  @param string  $strNewColumnName  The new name for the column.
  
  @param string  $strNewType        The new SQL type notation of the column.
  
  @param boolean $blnAllowSystemCol If this is set to true, no system column name checking will be applied.
  
  @return void