Fix the syntax for unique keys on Realtime_channel

This commit is contained in:
Evan Prodromou 2011-07-11 11:29:05 -04:00
parent 3b039ed2e7
commit 60e0e2b723
1 changed files with 1 additions and 1 deletions

View File

@ -125,7 +125,7 @@ class Realtime_channel extends Managed_DataObject
'description' => 'date this record was modified'),
),
'primary key' => array('user_id', 'action', 'arg1', 'arg2'),
'unique keys' => array('channel_key'),
'unique keys' => array('realtime_channel_channel_key_idx' => array('channel_key')),
'foreign keys' => array(
'realtime_channel_user_id_fkey' => array('user', array('user_id' => 'id')),
),