diff --git a/core/users/app_config.php b/core/users/app_config.php index dffc5348de..cbcb07dc40 100644 --- a/core/users/app_config.php +++ b/core/users/app_config.php @@ -163,16 +163,22 @@ $apps[$x]['db'][$y]['fields'][$z]['type'] = 'text'; $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = ''; $z++; - $apps[$x]['db'][$y]['fields'][$z]['name'] = 'user_enabled'; - $apps[$x]['db'][$y]['fields'][$z]['type'] = 'text'; - $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = ''; - $z++; $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = 'user_time_zone'; $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = 'usertimezone'; $apps[$x]['db'][$y]['fields'][$z]['type'] = 'text'; $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'] = 'api_key'; + $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]['description']['en-us'] = ''; + $z++; + $apps[$x]['db'][$y]['fields'][$z]['name'] = 'user_enabled'; + $apps[$x]['db'][$y]['fields'][$z]['type'] = 'text'; + $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = ''; + $z++; $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = 'add_user'; $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'][] = 'user_add_user'; $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'][] = 'useradduser';