src/Database/Migration/Schema/Column.php
/**
	 * Set the TIMESTAMP column to use CURRENT_TIMESTAMP as default value.
	 *
	 * @param bool $onUpdate When true, the timestamp will be updated to the current whenever the row changes as well.
	 * @return $this
	 */
Set the TIMESTAMP column to use CURRENT_TIMESTAMP as default value.
@param bool $onUpdate When true, the timestamp will be updated to the current whenever the row changes as well.
@return $this
Set the TIMESTAMP column to use CURRENT_TIMESTAMP as default value . @param bool $onUpdate When true the timestamp will be updated to the current whenever the row changes as well . @return $this
public function useCurrent($onUpdate = false) {
		$this->defaults('CURRENT_TIMESTAMP');
		if ($onUpdate) {
			$this->onUpdate('CURRENT_TIMESTAMP');
		}
		return $this;
	}
public function useCurrent ( $ onUpdate = false ) { $ this -> defaults ( 'CURRENT_TIMESTAMP' ) ; if ( $ onUpdate ) { $ this -> onUpdate ( 'CURRENT_TIMESTAMP' ) ; } return $ this ; }
Set the TIMESTAMP column to use CURRENT_TIMESTAMP as default value.
Set the TIMESTAMP column to use CURRENT_TIMESTAMP as default value .