src/Database/Schemas/MysqlSchema.php
public static function remove($name, $colmuns)
    {
        if (self::existe($name)) {
            $name = self::table($name);
            //
            self::$query = 'alter table '.$name.' ';
            //
            if (is_array($colmuns)) {
                for ($i = 0; $i < Collection::count($colmuns); $i++) {
                    self::$query .= ' drop '.$colmuns[$i].(($i == (Collection::count($colmuns) - 1)) ? '' : ',');
                }
            } else {
                self::$query .= ' drop '.$colmuns;
            }
            //
            return Database::exec(self::$query);
        } else {
            throw new SchemaTableNotExistException($name);
        }
    }
public static function remove($name, $colmuns)
    {
        if (self::existe($name)) {
            $name = self::table($name);
            //
            self::$query = 'alter table '.$name.' ';
            //
            if (is_array($colmuns)) {
                for ($i = 0; $i < Collection::count($colmuns); $i++) {
                    self::$query .= ' drop '.$colmuns[$i].(($i == (Collection::count($colmuns) - 1)) ? '' : ',');
                }
            } else {
                self::$query .= ' drop '.$colmuns;
            }
            //
            return Database::exec(self::$query);
        } else {
            throw new SchemaTableNotExistException($name);
        }
    }
public static function remove ( $ name , $ colmuns ) { if ( self :: existe ( $ name ) ) { $ name = self :: table ( $ name ) ; // self :: $ query = 'alter table ' . $ name . ' ' ; // if ( is_array ( $ colmuns ) ) { for ( $ i = 0 ; $ i < Collection :: count ( $ colmuns ) ; $ i ++ ) { self :: $ query .= ' drop ' . $ colmuns [ $ i ] . ( ( $ i == ( Collection :: count ( $ colmuns ) - 1 ) ) ? '' : ',' ) ; } } else { self :: $ query .= ' drop ' . $ colmuns ; } // return Database :: exec ( self :: $ query ) ; } else { throw new SchemaTableNotExistException ( $ name ) ; } }
function to build query for removing column to table.

@param string   $name
@param callable $script

@return bool
function to build query for removing column to table .