mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-30 16:21:24 +00:00
8 lines
263 B
MySQL
8 lines
263 B
MySQL
|
-- Delete the empty public keys
|
||
|
delete from community where public_key is null;
|
||
|
delete from person where public_key is null;
|
||
|
|
||
|
-- Make it required
|
||
|
alter table community alter column public_key set not null;
|
||
|
alter table person alter column public_key set not null;
|