]> source.dussan.org Git - nextcloud-server.git/commitdiff
typos....
authorRobin Appelman <icewind@owncloud.com>
Mon, 16 Jan 2012 01:22:23 +0000 (02:22 +0100)
committerRobin Appelman <icewind@owncloud.com>
Mon, 16 Jan 2012 01:22:23 +0000 (02:22 +0100)
3rdparty/MDB2/Driver/Manager/pgsql.php

index b2252bce1ca7e6dafcfeaa8446cacf164cba6a65..44a611d399d32bf95dd6b79e46e55b6a559737e8 100644 (file)
@@ -397,7 +397,7 @@ class MDB2_Driver_Manager_pgsql extends MDB2_Driver_Manager_Common
                     $db->loadModule('Datatype', null, true);
                     $type = $db->datatype->getTypeDeclaration($field['definition']);
                     if($type=='SERIAL PRIMARY KEY'){//not correct when altering a table, since serials arent a real type
-                                               $type='INTERGER';//use integer instead
+                                               $type='INTEGER';//use integer instead
                     }
                     $query = "ALTER $field_name TYPE $type USING CAST($field_name AS $type)";
                     $result = $db->exec("ALTER TABLE $name $query");