protected function createColumn($name, \Doctrine\DBAL\Schema\Column $col) {
		$type = strtolower($col->getType());

		$res = "\n\t\$table->addColumn('$name', '".$type."', [";
		if($col->getNotnull())
			$res .= "\n		'notnull' => true,";
		if($col->getAutoincrement())
			$res .= "\n		'autoincrement' => true,";
		if($col->getDefault())
			$res .= "\n		'default' => '".$col->getDefault()."',";
		if($col->getScale())
			$res .= "\n		'scale' => ".$col->getScale().",";
		if(in_array($type, ['decimal', 'float', 'double']) && $col->getPrecision())
			$res .= "\n		'precision' => ".$col->getPrecision().",";
		if($col->getLength() !== null)
			$res .= "\n		'length' => ".$col->getLength().",";
		if($col->getFixed())
			$res .= "\n		'fixed' => true,";
		if($col->getUnsigned())
			$res .= "\n		'unsigned' => true,";
		$res .= "\n	]);";

		return $res;
	}