diff options
Diffstat (limited to 'modules/shortcut/shortcut.install')
-rw-r--r-- | modules/shortcut/shortcut.install | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/modules/shortcut/shortcut.install b/modules/shortcut/shortcut.install index 39032bbc6..ae23d504b 100644 --- a/modules/shortcut/shortcut.install +++ b/modules/shortcut/shortcut.install @@ -63,7 +63,10 @@ function shortcut_schema() { ), 'primary key' => array('set_name'), 'foreign keys' => array( - 'set_name' => array('menu_links' => 'menu_name'), + 'menu_name' => array( + 'table' => 'menu_links', + 'columns' => array('set_name' => 'menu_name'), + ), ), ); @@ -90,8 +93,14 @@ function shortcut_schema() { 'set_name' => array('set_name'), ), 'foreign keys' => array( - 'uid' => array('users' => 'uid'), - 'set_name' => array('shortcut_set' => 'set_name'), + 'set_user' => array( + 'table' => 'users', + 'columns' => array('uid' => 'uid'), + ), + 'set_name' => array( + 'table' => 'shortcut_set', + 'columns' => array('set_name' => 'set_name'), + ), ), ); |