Selaa lähdekoodia

Changelog: Postgres recipe for how to change null=False to True. Thanks to MH_

Ask Solem 15 vuotta sitten
vanhempi
commit
72351b2c35
1 muutettua tiedostoa jossa 4 lisäystä ja 0 poistoa
  1. 4 0
      Changelog

+ 4 - 0
Changelog

@@ -542,6 +542,10 @@ Important notes
 
         ALTER TABLE celery_taskmeta MODIFY result TEXT NULL
 
+    PostgreSQL::
+
+        ALTER TABLE celery_taskmeta ALTER COLUMN result DROP NOT NULL
+
 * Removed ``Task.rate_limit_queue_type``, as it was not really useful
   and made it harder to refactor some parts.