From c32133073cbb909d58ecafed44608cd26188855d Mon Sep 17 00:00:00 2001 From: shimon Date: Tue, 26 Sep 2023 12:25:52 +0300 Subject: [PATCH] sessions --- src/Appwrite/Migration/Version/V20.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Appwrite/Migration/Version/V20.php b/src/Appwrite/Migration/Version/V20.php index 267c2cf539..48b511fe41 100644 --- a/src/Appwrite/Migration/Version/V20.php +++ b/src/Appwrite/Migration/Version/V20.php @@ -166,7 +166,7 @@ class V20 extends Migration foreach ($stats as $stat) { var_dump("{$stat['time']}_{$stat['period']}_{$to}"); $id = \md5("{$stat['time']}_{$stat['period']}_{$to}"); - //$stat->setAttribute('$id', $id); + $stat->setAttribute('$id', $id); $stat->setAttribute('metric', $to); console::log("updating metric {$from} to {$to}"); $this->projectDB->updateDocument('stats', $stat->getId(), $stat);