From ea324262e76efa150997096dd2889b65cadb76f5 Mon Sep 17 00:00:00 2001 From: prateek banga Date: Tue, 5 Sep 2023 01:33:50 +0530 Subject: [PATCH] updated messaging collectin --- app/config/collections.php | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) diff --git a/app/config/collections.php b/app/config/collections.php index 15effbf5ae..0a51a2c1bb 100644 --- a/app/config/collections.php +++ b/app/config/collections.php @@ -1335,24 +1335,13 @@ $commonCollections = [ 'array' => false, 'filters' => [], ], - [ - '$id' => ID::custom('type'), - 'type' => Database::VAR_STRING, - 'format' => '', - 'size' => 128, - 'signed' => true, - 'required' => true, - 'default' => null, - 'array' => false, - 'filters' => [], - ], [ '$id' => ID::custom('data'), 'type' => Database::VAR_STRING, 'format' => '', 'size' => 16384, 'signed' => true, - 'required' => false, + 'required' => true, 'default' => null, 'array' => false, 'filters' => ['json'], @@ -1396,7 +1385,7 @@ $commonCollections = [ 'format' => '', 'size' => 0, 'signed' => true, - 'required' => true, + 'required' => false, 'default' => null, 'array' => false, 'filters' => [], @@ -1407,7 +1396,7 @@ $commonCollections = [ 'format' => '', 'size' => 0, 'signed' => true, - 'required' => true, + 'required' => false, 'default' => false, 'array' => false, 'filters' => [],