src/Helper/TableManipulation.php
public static function dropColumn($strTableName, $strColumnName, $blnAllowSystemCol = false)
    {
        self::checkColumnExists($strTableName, $strColumnName, $blnAllowSystemCol);
        self::getDB()->execute(
            sprintf(
                self::STATEMENT_DROP_COLUMN,
                $strTableName,
                $strColumnName
            )
        );
    }
public static function dropColumn($strTableName, $strColumnName, $blnAllowSystemCol = false)
    {
        self::checkColumnExists($strTableName, $strColumnName, $blnAllowSystemCol);
        self::getDB()->execute(
            sprintf(
                self::STATEMENT_DROP_COLUMN,
                $strTableName,
                $strColumnName
            )
        );
    }
public static function dropColumn ( $ strTableName , $ strColumnName , $ blnAllowSystemCol = false ) { self :: checkColumnExists ( $ strTableName , $ strColumnName , $ blnAllowSystemCol ) ; self :: getDB ( ) -> execute ( sprintf ( self :: STATEMENT_DROP_COLUMN , $ strTableName , $ strColumnName ) ) ; }
Delete a column from a table.

Throws Exception if the table does not exist, the column name is invalid or the column does not exist.

@param string  $strTableName      The name of the table the column is in.

@param string  $strColumnName     The name of the column to drop.

@param boolean $blnAllowSystemCol If this is set to true, no system column name checking will be applied.

@return void
Delete a column from a table .