public function dropColumn($table, $column)
    {
        $cmdPromise = $this->createCommand()->dropColumn($table, $column)->execute();
        return $this->execPromise($cmdPromise, "drop column $column from table $table");
    }
public function dropColumn($table, $column)
    {
        $cmdPromise = $this->createCommand()->dropColumn($table, $column)->execute();
        return $this->execPromise($cmdPromise, "drop column $column from table $table");
    }
public function dropColumn ( $ table , $ column ) { $ cmdPromise = $ this -> createCommand ( ) -> dropColumn ( $ table , $ column ) -> execute ( ) ; return $ this -> execPromise ( $ cmdPromise , "drop column $column from table $table" ) ; }
Builds and executes a SQL statement for dropping a DB column.
@param string $table the table whose column is to be dropped. The name will be properly quoted by the method.
@param string $column the name of the column to be dropped. The name will be properly quoted by the method.
@return LazyPromiseInterface
Builds and executes a SQL statement for dropping a DB column .