[Answer]-Set default value on migration Django/South?

1👍

It depends on whether gametype is a new field or not.

  1. If the gametype field is a new field, the migration will add that field to every model instance and use the default value.
  2. However, if the gametype field already existed and there are values in the database already, South shouldn’t mess with them, even if they’re NULL.

Leave a comment