diff --git a/src/Appwrite/Migration/Version/V20.php b/src/Appwrite/Migration/Version/V20.php index 2afe166d52..29b62ce398 100644 --- a/src/Appwrite/Migration/Version/V20.php +++ b/src/Appwrite/Migration/Version/V20.php @@ -116,7 +116,7 @@ class V20 extends Migration 'metric' => $metric, 'period' => 'inf', 'value' => $value, - 'time' => null, + 'time' => '0000-00-00 00:00', 'region' => 'default', ])); } catch (Duplicate $th) {