+2
-2
migrations/2025-09-27-171241_post-tweaks/up.sql
+2
-2
migrations/2025-09-27-171241_post-tweaks/up.sql
···
34
34
language plpgsql as
35
35
$$
36
36
begin
37
-
delete from author_feeds where did = OLD.did and item = OLD.at_uri and typ = 'post';
37
+
delete from author_feeds where did = OLD.did and at_uri = OLD.at_uri and typ = 'post';
38
38
return OLD;
39
39
end;
40
40
$$;
···
67
67
language plpgsql as
68
68
$$
69
69
begin
70
-
delete from author_feeds where did = OLD.did and item = OLD.post and typ = 'repost';
70
+
delete from author_feeds where did = OLD.did and post = OLD.post and typ = 'repost';
71
71
return OLD;
72
72
end;
73
73
$$;