mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 00:13:35 +01:00
"marking auto columns automatic as primary key and not null"
This commit is contained in:
parent
4859fb6a8e
commit
510d1e786e
@ -431,6 +431,11 @@
|
||||
{
|
||||
$col = $content["Row$n"];
|
||||
|
||||
if ($col['type'] == 'auto') // auto columns are the primary key and not null!
|
||||
{
|
||||
$col['pk'] = $col['notnull'] = true; // set it, in case the user forgot
|
||||
}
|
||||
|
||||
while ((list($old_name,$old_col) = @each($old_cols)) &&
|
||||
$this->changes[$posted_table][$old_name] == '**deleted**') ;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user