Skip to content
Snippets Groups Projects
Commit 4681b761 authored by Alex Pott's avatar Alex Pott
Browse files

Issue #2100189 by fgm: Fixed users_roles() schema declares foreign key to nonexistent role table.

parent 54cc3d75
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -210,7 +210,7 @@ function user_schema() {
'type' => 'varchar',
'length' => 64,
'not null' => TRUE,
'description' => 'Primary Key: {role}.rid for role.',
'description' => 'Primary Key: ID for the role.',
),
),
'primary key' => array('uid', 'rid'),
......@@ -222,10 +222,6 @@ function user_schema() {
'table' => 'users',
'columns' => array('uid' => 'uid'),
),
'role' => array(
'table' => 'role',
'columns' => array('rid' => 'rid'),
),
),
);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment