We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 60e0e2b7 authored by Evan Prodromou's avatar Evan Prodromou

Fix the syntax for unique keys on Realtime_channel

parent 3b039ed2
......@@ -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')),
),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment