The {role} table no longer exists in D8, but the user_schema() declaration for {users_roles} still contains a foreign key declaration to it.

#3 0001-Issue-2100189-by-fgm-removed-obsolete-foreign-key-fr.patch1.08 KBfgm
PASSED: [[SimpleTest]]: [MySQL] 59,374 pass(es).
[ View ]
#1 0001-Issue-2100189-by-fgm-removed-obsolete-foreign-key-fr.patch1.09 KBfgm
PASSED: [[SimpleTest]]: [MySQL] 59,046 pass(es).
[ View ]


Component:field system» user.module
Status:Active» Needs review
new1.09 KB
PASSED: [[SimpleTest]]: [MySQL] 59,046 pass(es).
[ View ]

And associated patch.

Status:Needs review» Needs work

+++ b/core/modules/user/user.install
@@ -210,7 +210,7 @@ function user_schema() {
-        'description' => 'Primary Key: {role}.rid for role.',
+        'description' => 'Primary Key: (config) rid for role.',

I don't think the description makes much sense. Maybe just "ID of the role." or something like that?

Status:Needs work» Needs review
new1.08 KB
PASSED: [[SimpleTest]]: [MySQL] 59,374 pass(es).
[ View ]

If you think so...

Status:Needs review» Reviewed & tested by the community

Works for me.

Status:Reviewed & tested by the community» Fixed

Committed 4681b76 and pushed to 8.x. Thanks!

Status:Fixed» Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.