[Django]-Django BooleanField default for mysql

5👍

Django never sets the default on a database level. If you want to support the default in legacy code, you can add a RunSQL operation to your migration that adds the default to the database column.

👤knbk

Leave a comment