]> Untitled Git - lemmy.git/blobdiff - migrations/2021-11-22-143904_add_required_public_key/down.sql
Adding SQL format checking via `pg_format` / pgFormatter (#3740)
[lemmy.git] / migrations / 2021-11-22-143904_add_required_public_key / down.sql
index 775d07d3c91e19fa366929c9e6582c943b233b6f..a6101d0a7ee462538190fb20f3a28a38d543785c 100644 (file)
@@ -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;
+