mirror of
https://github.com/nextcloud/server.git
synced 2026-06-09 08:44:07 -04:00
typos....
This commit is contained in:
parent
011732a083
commit
757e6cd0aa
1 changed files with 1 additions and 1 deletions
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 a new issue