X-Git-Url: http://these/git/?a=blobdiff_plain;f=migrations%2F2021-11-22-143904_add_required_public_key%2Fdown.sql;h=a6101d0a7ee462538190fb20f3a28a38d543785c;hb=be1389420b9dc4516f1e9b3e82637f84919a438e;hp=775d07d3c91e19fa366929c9e6582c943b233b6f;hpb=05d43150bcc81a3403fe08e6c9a2d74de4eca9b4;p=lemmy.git diff --git a/migrations/2021-11-22-143904_add_required_public_key/down.sql b/migrations/2021-11-22-143904_add_required_public_key/down.sql index 775d07d3..a6101d0a 100644 --- a/migrations/2021-11-22-143904_add_required_public_key/down.sql +++ b/migrations/2021-11-22-143904_add_required_public_key/down.sql @@ -1,2 +1,6 @@ -alter table community alter column public_key drop not null; -alter table person alter column public_key drop not null; +ALTER TABLE community + ALTER COLUMN public_key DROP NOT NULL; + +ALTER TABLE person + ALTER COLUMN public_key DROP NOT NULL; +