fix migration file

pull/134/head
Aevann 2023-02-26 11:31:33 +02:00
parent 8085fa3351
commit 7301be5f78
1 changed files with 1 additions and 1 deletions

View File

@ -1 +1 @@
select id from comments where parent_submission is null and sentto is null and (top_comment_id in (select id from comments where sentto = 2) or parent_comment_id in (select id from comments where sentto = 2));
update comments set sentto=2 where parent_submission is null and sentto is null and (top_comment_id in (select id from comments where sentto = 2) or parent_comment_id in (select id from comments where sentto = 2));