diff core/modules/user/user.install @ 5:12f9dff5fda9 tip

Update to Drupal core 8.7.1
author Chris Cannam
date Thu, 09 May 2019 15:34:47 +0100
parents c75dbcec494b
children
line wrap: on
line diff
--- a/core/modules/user/user.install	Thu Feb 28 13:11:55 2019 +0000
+++ b/core/modules/user/user.install	Thu May 09 15:34:47 2019 +0100
@@ -13,7 +13,7 @@
     '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,
@@ -53,7 +53,12 @@
       'name' => ['name'],
     ],
     'foreign keys' => [
-      'uid' => ['users' => 'uid'],
+      'data_user' => [
+        'table' => 'users',
+        'columns' => [
+          'uid' => 'uid',
+        ],
+      ],
     ],
   ];