Add null=True to LogEntry.cid field

It's already set nullable in the migration.
This commit is contained in:
Aleh Rymašeŭski 2023-07-19 10:15:27 +00:00
parent 03920f2874
commit 682e8e270b

View file

@ -360,7 +360,11 @@ class LogEntry(models.Model):
verbose_name=_("actor"),
)
cid = models.CharField(
max_length=255, db_index=True, blank=True, verbose_name=_("Correlation ID")
max_length=255,
db_index=True,
null=True,
blank=True,
verbose_name=_("Correlation ID"),
)
remote_addr = models.GenericIPAddressField(
blank=True, null=True, verbose_name=_("remote address")