@@ -180,7 +180,7 @@ class ChannelStatus(models.Model):
180180 message = models .ForeignKey ("notifications.Message" , on_delete = models .PROTECT )
181181 channel = models .CharField (max_length = 50 , null = False )
182182 status = models .CharField (max_length = 50 , null = False , choices = ChannelStatusChoices )
183- description = models .CharField (max_length = 150 )
183+ description = models .CharField (max_length = 150 , null = True , blank = True )
184184 idempotency_key = models .CharField (max_length = 150 , unique = True )
185185 status_updated_at = models .DateTimeField (null = False )
186186 created_at = models .DateTimeField (null = False , auto_now_add = True )
@@ -195,7 +195,7 @@ class MessageStatus(models.Model):
195195 id = models .UUIDField (primary_key = True , default = uuid .uuid4 , editable = False )
196196 message = models .ForeignKey ("notifications.Message" , on_delete = models .PROTECT )
197197 status = models .CharField (max_length = 50 , null = False , choices = MessageStatusChoices )
198- description = models .CharField (max_length = 150 )
198+ description = models .CharField (max_length = 150 , null = True , blank = True )
199199 idempotency_key = models .CharField (max_length = 150 , unique = True )
200200 status_updated_at = models .DateTimeField (null = False )
201201 created_at = models .DateTimeField (null = False , auto_now_add = True )
0 commit comments