/** * Adds datatypes to the table for creation or alteration. * @param string $name The name given to that datatype (id, last_name) * @param string $type The type (Blob, Char, Int) of the datatype * @return \Database\Datatype */ public function addDataType($name, $type) { $datatype = Datatype::factory($this, $name, $type); $this->datatypes[$name] = $datatype; return $datatype; }