]> Untitled Git - lemmy.git/blob - migrations/2023-06-22-051755_fix_local_communities_marked_non_local/up.sql
Dont use sha hash for password reset token (fixes #3491) (#3795)
[lemmy.git] / migrations / 2023-06-22-051755_fix_local_communities_marked_non_local / up.sql
1 UPDATE
2     community c
3 SET
4     local = TRUE
5 FROM
6     local_site ls
7     JOIN site s ON ls.site_id = s.id
8 WHERE
9     c.instance_id = s.instance_id
10     AND NOT c.local;
11