Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #38 from klaussilveira/patch-1

Fixing typo with PostgreSQL import
  • Loading branch information...
commit dcec9a6e0b6d6a42fce6fa495d65ad3d22178307 2 parents c6bbf67 + 903c161
@guilhermeblanco guilhermeblanco 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.