diff options
author | Dries Buytaert <dries@buytaert.net> | 2010-08-22 13:55:53 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2010-08-22 13:55:53 +0000 |
commit | db5368027e7b38a274e17bf002f543a0ffbbd7ae (patch) | |
tree | 95d6bbe06b2a58ddbad9e345523f4da2e6dfbe68 /modules/system/system.install | |
parent | 39d6704418f4a072f7157a524d4742a6c4e4f593 (diff) | |
download | brdo-db5368027e7b38a274e17bf002f543a0ffbbd7ae.tar.gz brdo-db5368027e7b38a274e17bf002f543a0ffbbd7ae.tar.bz2 |
- Patch #880132 by bojanz: hook_schema() doesn't support compound foreign keys; inconsistent implementations in core.
Diffstat (limited to 'modules/system/system.install')
-rw-r--r-- | modules/system/system.install | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/modules/system/system.install b/modules/system/system.install index 174416c05..8774a7d74 100644 --- a/modules/system/system.install +++ b/modules/system/system.install @@ -831,7 +831,10 @@ function system_schema() { ), 'primary key' => array('fid'), 'foreign keys' => array( - 'uid' => array('users' => 'uid'), + 'file_owner' => array( + 'table' => 'users', + 'columns' => array('uid' => 'uid'), + ), ), ); @@ -1508,7 +1511,10 @@ function system_schema() { 'ssid' => array('ssid'), ), 'foreign keys' => array( - 'uid' => array('users' => 'uid'), + 'session_user' => array( + 'table' => 'users', + 'columns' => array('uid' => 'uid'), + ), ), ); |