Show key state

This commit is contained in:
Jamie Cameron
2022-10-21 19:31:14 -07:00
parent d7c34eab2b
commit 5224603d0a
+6
View File
@@ -52,6 +52,12 @@ if ($type eq 'char' || $type eq 'varchar' || $type eq 'numeric' ||
}
}
if (!$in{'type'}) {
# Display if primary key
print &ui_table_row($text{'field_key'},
$f->{'key'} eq 'PRI' ? $text{'yes'} : $text{'no'});
}
if ($in{'type'}) {
# Ask if this is an array
print &ui_table_row($text{'field_arr'},