]> Untitled Git - lemmy.git/blob - migrations/2021-03-04-040229_clean_icon_urls/up.sql
Adding a site option to email admins for new reports. (#2730)
[lemmy.git] / migrations / 2021-03-04-040229_clean_icon_urls / up.sql
1 -- If these are not urls, it will crash the server
2 update user_ set avatar = NULL where avatar not like 'http%';
3 update user_ set banner = NULL where banner not like 'http%';
4 update community set icon = NULL where icon not like 'http%';
5 update community set banner = NULL where banner not like 'http%';