diff --git a/lib/Cake/Model/Datasource/Database/Postgres.php b/lib/Cake/Model/Datasource/Database/Postgres.php index 3e47f52f2..73b0cd2b9 100644 --- a/lib/Cake/Model/Datasource/Database/Postgres.php +++ b/lib/Cake/Model/Datasource/Database/Postgres.php @@ -206,6 +206,8 @@ class Postgres extends DboSource { if ($c->type == 'character varying') { $length = null; $type = 'text'; + } else if ($c->type == 'uuid') { + $length = 36; } else { $length = intval($c->oct_length); }