From 18797a43ffa862d7e587dac2ffddb42309ced30d Mon Sep 17 00:00:00 2001 From: Peter Maquiran Date: Mon, 28 Mar 2022 14:12:00 +0100 Subject: [PATCH] fix --- src/app/models/beast-orm.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/models/beast-orm.ts b/src/app/models/beast-orm.ts index b5170eb73..a09954a36 100644 --- a/src/app/models/beast-orm.ts +++ b/src/app/models/beast-orm.ts @@ -10,9 +10,9 @@ export class MessageModel extends models.Model { mentions = ArrayField() msg = models.CharField() rid = models.CharField() - ts = JsonField() + ts = JsonField({blank:true}) u = JsonField() - _id = models.CharField({unique:true}) + _id = models.CharField({unique:true, blank:true}) _updatedAt = models.IntegerField() messageSend = models.BooleanField() offline = models.BooleanField()