]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Fix the syntax for unique keys on Realtime_channel
authorEvan Prodromou <evan@status.net>
Mon, 11 Jul 2011 15:29:05 +0000 (11:29 -0400)
committerEvan Prodromou <evan@status.net>
Mon, 11 Jul 2011 15:29:05 +0000 (11:29 -0400)
plugins/Realtime/Realtime_channel.php

index 17d8504c058da35e3b1e206e4fa4de353ca01c62..63e4bfa13eee9e74363948860bcb4c642b75a4ce 100644 (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')),
             ),