From 83780af41e3981d0da3b1c1bc3f071fea4538d55 Mon Sep 17 00:00:00 2001
From: Matthias Andreas Benkard <code@mail.matthias.benkard.de>
Date: Sat, 22 Sep 2012 15:28:19 +0000
Subject: Fix migrations.

---
 migrations/3_fix_lazychat_message_visibility.sql | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'migrations/3_fix_lazychat_message_visibility.sql')

diff --git a/migrations/3_fix_lazychat_message_visibility.sql b/migrations/3_fix_lazychat_message_visibility.sql
index 4af6b30..9f200ef 100644
--- a/migrations/3_fix_lazychat_message_visibility.sql
+++ b/migrations/3_fix_lazychat_message_visibility.sql
@@ -3,5 +3,5 @@ CREATE OR REPLACE VIEW user_visible_lazychat_messages AS
      FROM effective_user_roles eur, lazychat_targets t
     WHERE t.target = eur.role
   UNION
-    SELECT m.author, m.message
+    SELECT m.author, m.id
     FROM lazychat_messages m;
-- 
cgit v1.2.3

