Add a primary key to the software table

This commit is contained in:
Mark Crane 2014-07-02 21:38:23 +00:00
parent 513a5768d6
commit 6674d22a4c
1 changed files with 7 additions and 0 deletions

View File

@ -87,6 +87,13 @@
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
$apps[$x]['db'][$y]['fields'][$z]['deprecated'] = "true";
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "software_uuid";
$apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
$apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
$apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
$apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "primary";
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "software_name";
$apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "softwarename";
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";