From 6674d22a4c5b216f0ad1c783caba5c82eb63cd61 Mon Sep 17 00:00:00 2001 From: Mark Crane Date: Wed, 2 Jul 2014 21:38:23 +0000 Subject: [PATCH] Add a primary key to the software table --- app/system/app_config.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/app/system/app_config.php b/app/system/app_config.php index 0985a4649f..e2fe4fdf2e 100644 --- a/app/system/app_config.php +++ b/app/system/app_config.php @@ -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";