mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-09-10 00:18:49 -06:00
6 lines
137 B
MySQL
6 lines
137 B
MySQL
![]() |
update community c
|
||
|
set local=true
|
||
|
from local_site ls
|
||
|
join site s on ls.site_id=s.id
|
||
|
where c.instance_id=s.instance_id and not c.local;
|