Ver Fonte

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

Ask Solem há 15 anos atrás
pai
commit
72351b2c35
1 ficheiros alterados com 4 adições e 0 exclusões
  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.