mirror of
https://github.com/LemmyNet/lemmy
synced 2024-11-22 20:43:05 +00:00
7 lines
263 B
SQL
7 lines
263 B
SQL
-- 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;
|