Add a default value. See the stack answer. If no such field, make sure the migration you made is for the latest model