]> Untitled Git - lemmy.git/blob - migrations/2021-11-22-143904_add_required_public_key/up.sql
feat: re-added captcha checks (#3249)
[lemmy.git] / migrations / 2021-11-22-143904_add_required_public_key / up.sql
1 -- Delete the empty public keys
2 delete from community where public_key is null;
3 delete from person where public_key is null;
4
5 -- Make it required
6 alter table community alter column public_key set not null;
7 alter table person alter column public_key set not null;