another typo

This commit is contained in:
zhitomirskiyi 2011-01-29 18:53:13 -08:00
parent 5d3e08227e
commit 2b4d27d2cf

View file

@ -25,7 +25,7 @@ class NotificationMultiplePeople < ActiveRecord::Migration
#select all the notifications to keep
execute "CREATE TEMPORARY TABLE keep_table " +
"(SELECT id as keep_id, target_type , target_id , recipient_id , action as keep_id " +
"(SELECT id as keep_id, target_type , target_id , recipient_id , action" +
"FROM notifications WHERE action = 'comment_on_post' OR action = 'also_commented' " +
"GROUP BY target_type , target_id , recipient_id , action) "