mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
correct migration
This commit is contained in:
parent
f0a23d50b4
commit
178cb480fa
@ -39,7 +39,7 @@ class CreatePostReplyKeys < ActiveRecord::Migration[5.2]
|
||||
updated_at,
|
||||
created_at
|
||||
FROM email_logs
|
||||
WHERE reply_key IS NOT NULL
|
||||
WHERE reply_key IS NOT NULL AND post_id IS NOT NULL AND user_id IS NOT NULL
|
||||
SQL
|
||||
|
||||
execute(sql)
|
||||
|
Loading…
Reference in New Issue
Block a user