]> Untitled Git - lemmy.git/blobdiff - migrations/2020-12-02-152437_create_site_aggregates/down.sql
Some API cleanup, adding site_id to site aggregates.
[lemmy.git] / migrations / 2020-12-02-152437_create_site_aggregates / down.sql
index 4bbee76151b27769b3d99517fdb5d68114c773c9..2a2aa97d5fc6f5a6a4ae248be9d2d801fabe6388 100644 (file)
@@ -1,10 +1,12 @@
 -- Site aggregates
 drop table site_aggregates;
+drop trigger site_aggregates_site on site;
 drop trigger site_aggregates_user on user_;
 drop trigger site_aggregates_post on post;
 drop trigger site_aggregates_comment on comment;
 drop trigger site_aggregates_community on community;
 drop function 
+  site_aggregates_site,
   site_aggregates_user,
   site_aggregates_post,
   site_aggregates_comment,