diff options
author | Robin Appelman <icewind@owncloud.com> | 2012-01-16 02:22:23 +0100 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2012-01-16 02:22:23 +0100 |
commit | 757e6cd0aaf3d9f651446bd063002b3fbf1f4b2e (patch) | |
tree | c73b664bb90190425e1721bcd5d06754b37e7a26 /3rdparty | |
parent | 011732a0835d04748514b3676f1b2f324fa2d922 (diff) | |
download | nextcloud-server-757e6cd0aaf3d9f651446bd063002b3fbf1f4b2e.tar.gz nextcloud-server-757e6cd0aaf3d9f651446bd063002b3fbf1f4b2e.zip |
typos....
Diffstat (limited to '3rdparty')
-rw-r--r-- | 3rdparty/MDB2/Driver/Manager/pgsql.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/3rdparty/MDB2/Driver/Manager/pgsql.php b/3rdparty/MDB2/Driver/Manager/pgsql.php index b2252bce1ca..44a611d399d 100644 --- a/3rdparty/MDB2/Driver/Manager/pgsql.php +++ b/3rdparty/MDB2/Driver/Manager/pgsql.php @@ -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"); |