diff --git a/django/db/models/fields/files.py b/django/db/models/fields/files.py
index 9d4a06d..0b2a24a 100644
a
|
b
|
class FileField(Field):
|
270 | 270 | |
271 | 271 | def deconstruct(self): |
272 | 272 | name, path, args, kwargs = super(FileField, self).deconstruct() |
273 | | if kwargs.get("max_length", None) != 100: |
274 | | kwargs["max_length"] = 100 |
275 | | else: |
| 273 | if kwargs.get("max_length", None) == 100: |
276 | 274 | del kwargs["max_length"] |
277 | 275 | kwargs['upload_to'] = self.upload_to |
278 | 276 | if self.storage is not default_storage: |