From 7ecfaf4c3c263d276965bfddbe67b1a644832d3a Mon Sep 17 00:00:00 2001
From: Nathaniel Catchpole <catch@35733.no-reply.drupal.org>
Date: Mon, 5 Nov 2018 13:07:51 +0000
Subject: [PATCH] Issue #2886740 by kiamlaluno: user_schema() reports uid as
 primary key for the user_data table when it's just part of the primary key

---
 core/modules/user/user.install | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/modules/user/user.install b/core/modules/user/user.install
index 0af797a43f8f..a2b2806d888f 100644
--- a/core/modules/user/user.install
+++ b/core/modules/user/user.install
@@ -13,7 +13,7 @@ function user_schema() {
     'description' => 'Stores module data as key/value pairs per user.',
     'fields' => [
       'uid' => [
-        'description' => 'Primary key: {users}.uid for user.',
+        'description' => 'The {users}.uid this record affects.',
         'type' => 'int',
         'unsigned' => TRUE,
         'not null' => TRUE,
-- 
GitLab