code: def add_default(self, model, name, default):
          
          field = model._meta.fields[name]
          model._meta.defaults[field] = field.default = default
          self.ops.append(self.migrator.apply_default(model._meta.table_name, name, field))
          return model
docs: Add default.