From e104f553cbd84a9de2137afd368e716b7db9de81 Mon Sep 17 00:00:00 2001 From: Christy Jacob Date: Fri, 19 Aug 2022 09:41:22 +0000 Subject: [PATCH] feat: use datetime filters for acessedAt --- app/config/collections.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/config/collections.php b/app/config/collections.php index a6024bd0a0..9b030f6f67 100644 --- a/app/config/collections.php +++ b/app/config/collections.php @@ -977,14 +977,14 @@ $collections = [ ], [ '$id' => 'accessedAt', - 'type' => Database::, + 'type' => Database::VAR_DATETIME, 'format' => '', 'size' => 0, 'signed' => false, 'required' => false, 'default' => 0, 'array' => false, - 'filters' => [], + 'filters' => ['datetime'], ], [ '$id' => 'sdks', @@ -2847,14 +2847,14 @@ $collections = [ ], [ '$id' => 'accessedAt', - 'type' => Database::VAR_DATETIME, + 'type' => Database::VAR_INTEGER, 'format' => '', 'size' => 0, 'signed' => false, 'required' => true, 'default' => null, 'array' => false, - 'filters' => ['datetime'], + 'filters' => [], ], [ '$id' => 'signature',