Commit 4681b761 authored by alexpott's avatar alexpott

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

parent 54cc3d75
......@@ -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'),
),
),
);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment