summaryrefslogtreecommitdiff
path: root/framework/Data/ActiveRecord/Vendor/TPgsqlColumnMetaData.php
diff options
context:
space:
mode:
authorwei <>2007-01-23 12:55:49 +0000
committerwei <>2007-01-23 12:55:49 +0000
commit1c92c3a9fb320ec35949634e53b28ee4ab79f138 (patch)
tree4becb5ff4edca26ca283e5a11506f28e5f3d0f08 /framework/Data/ActiveRecord/Vendor/TPgsqlColumnMetaData.php
parent9e6fdda71cf70275fcf7e4b09230daa713c18b70 (diff)
fix pgsql schema table problems.
Diffstat (limited to 'framework/Data/ActiveRecord/Vendor/TPgsqlColumnMetaData.php')
-rw-r--r--framework/Data/ActiveRecord/Vendor/TPgsqlColumnMetaData.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/Data/ActiveRecord/Vendor/TPgsqlColumnMetaData.php b/framework/Data/ActiveRecord/Vendor/TPgsqlColumnMetaData.php
index 59a2d43e..1e799aac 100644
--- a/framework/Data/ActiveRecord/Vendor/TPgsqlColumnMetaData.php
+++ b/framework/Data/ActiveRecord/Vendor/TPgsqlColumnMetaData.php
@@ -61,7 +61,7 @@ class TPgsqlColumnMetaData extends TComponent
{
switch(strtolower($this->_type))
{
- case 'bit': case 'bit varying': case 'real': case 'serial':
+ case 'bit': case 'bit varying': case 'real': case 'serial': case 'int': case 'integer':
return 'integer';
case 'boolean':
return 'boolean';