diff --git a/src/Appwrite/Migration/Version/V16.php b/src/Appwrite/Migration/Version/V16.php index 311cbaff2c..db13e6d182 100644 --- a/src/Appwrite/Migration/Version/V16.php +++ b/src/Appwrite/Migration/Version/V16.php @@ -50,7 +50,7 @@ class V16 extends Migration case 'sessions': try { /** - * Create 'compression' attribute + * Create 'expire' attribute */ $this->projectDB->deleteAttribute($id, 'expire'); } catch (\Throwable $th) { @@ -79,6 +79,17 @@ class V16 extends Migration } break; + case 'stats': + try { + /** + * Create 'region' attribute + */ + $this->createAttributeFromCollection($this->projectDB, $id, 'region'); + } catch (\Throwable $th) { + Console::warning("'region' from {$id}: {$th->getMessage()}"); + } + break; + default: break; }