summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
1c7bfd6)
Fixes <https://github.com/LemmyNet/lemmy/issues/2863>.
breadcrumb;
-- Remove indexes and foreign key constraints, and disable triggers for faster updates
breadcrumb;
-- Remove indexes and foreign key constraints, and disable triggers for faster updates
-alter table comment disable trigger all;
+alter table comment disable trigger user;
alter table comment drop constraint if exists comment_creator_id_fkey;
alter table comment drop constraint if exists comment_parent_id_fkey;
alter table comment drop constraint if exists comment_creator_id_fkey;
alter table comment drop constraint if exists comment_parent_id_fkey;
-- Drop the parent_id column
alter table comment drop column parent_id cascade;
-- Drop the parent_id column
alter table comment drop column parent_id cascade;
-alter table comment enable trigger all;
+alter table comment enable trigger user;