[Answer]-Schemamigration: adding a simple Null field

1👍

Because migrations work both way. One day you may want to rollback to the state it was before and in that case you’ll need a default value for the mandatory field.

Oh, and in this case I usually always choose option 2 and enter 0 as the value. Works fine.

👤Matt

Leave a comment