mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-10-31 09:40:00 +00:00
6 lines
303 B
MySQL
6 lines
303 B
MySQL
|
-- If these are not urls, it will crash the server
|
||
|
update user_ set avatar = NULL where avatar not like 'http%';
|
||
|
update user_ set banner = NULL where banner not like 'http%';
|
||
|
update community set icon = NULL where icon not like 'http%';
|
||
|
update community set banner = NULL where banner not like 'http%';
|