Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Fixing typo with PostgreSQL import #38

Merged
merged 1 commit into from

2 participants

@klaussilveira

Just fixing this typo. Found while generating models in Symfony 1.4.13 with PostgreSQL database.

@guilhermeblanco guilhermeblanco merged commit dcec9a6 into doctrine:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Aug 5, 2011
  1. @klaussilveira
This page is out of date. Refresh to see the latest.
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])){
Something went wrong with that request. Please try again.