Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixing typo with PostgreSQL import

  • Loading branch information...
commit 903c1617663bbb38cd98bf0bda1ba316e7e6fda7 1 parent c6bbf67
@klaussilveira klaussilveira authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/Doctrine/Import/Pgsql.php
View
2  lib/Doctrine/Import/Pgsql.php
@@ -191,7 +191,7 @@ public function listTableColumns($table)
);
// If postgres enum type
- if ($val['typtype'] == 'e'){
+ if ($val['type'] == 'e'){
$description['default'] = isset($decl['default']) ? $decl['default'] : null;
$t_result = $this->conn->fetchAssoc(sprintf('select enum_range(null::%s) as range ', $decl['enum_name']));
if (isset($t_result[0])){
Please sign in to comment.
Something went wrong with that request. Please try again.