mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-12-05 02:31:21 +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%';
|