From 60e0e2b7234430393f6d4e00905969f940f2f189 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Mon, 11 Jul 2011 11:29:05 -0400 Subject: [PATCH] Fix the syntax for unique keys on Realtime_channel --- plugins/Realtime/Realtime_channel.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/Realtime/Realtime_channel.php b/plugins/Realtime/Realtime_channel.php index 17d8504c05..63e4bfa13e 100644 --- a/plugins/Realtime/Realtime_channel.php +++ b/plugins/Realtime/Realtime_channel.php @@ -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')), ), -- 2.39.5