diff --git a/src/Appwrite/Migration/Version/V23.php b/src/Appwrite/Migration/Version/V23.php index 9d724bac0a..07091050d0 100644 --- a/src/Appwrite/Migration/Version/V23.php +++ b/src/Appwrite/Migration/Version/V23.php @@ -135,6 +135,7 @@ class V23 extends Migration case 'buckets': try { $this->createAttributeFromCollection($this->dbForProject, $id, 'transformations'); + $this->createAttributeFromCollection($this->dbForPlatform, $id, 'transformations'); } catch (Throwable $th) { Console::warning("'transformations' from {$id}: {$th->getMessage()}"); } @@ -144,16 +145,6 @@ class V23 extends Migration break; } } - - try { - $this->createAttributeFromCollection( - $this->dbForPlatform, - 'buckets', - 'transformations', - ); - } catch (Throwable $th) { - Console::warning("(platform) 'transformations' from 'buckets': {$th->getMessage()}"); - } } /**