mirror of
https://github.com/nextcloud/server.git
synced 2024-08-03 08:16:02 +02:00
typos....
This commit is contained in:
parent
011732a083
commit
757e6cd0aa
2
3rdparty/MDB2/Driver/Manager/pgsql.php
vendored
2
3rdparty/MDB2/Driver/Manager/pgsql.php
vendored
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user