src/Database/Migration/Blueprint.php
/**
	 * Indicate that the given columns should be dropped.
	 *
	 * @param array|mixed $columns
	 * @return Command
	 * @throws
	 */
Indicate that the given columns should be dropped.
@param array|mixed $columns
@return Command
@throws
Indicate that the given columns should be dropped . @param array|mixed $columns @return Command @throws
public function dropColumn($columns) {
		if ($this->isCreating()) {
			throw new MigrationException('Cannot drop a column while in table creation mode.');
		}
		$columns = is_array($columns) ? $columns : func_get_args();
		return $this->addCommand('dropColumn', compact('columns'));
	}
public function dropColumn ( $ columns ) { if ( $ this -> isCreating ( ) ) { throw new MigrationException ( 'Cannot drop a column while in table creation mode.' ) ; } $ columns = is_array ( $ columns ) ? $ columns : func_get_args ( ) ; return $ this -> addCommand ( 'dropColumn' , compact ( 'columns' ) ) ; }
Indicate that the given columns should be dropped.
Indicate that the given columns should be dropped .