From 7f82484436e49a5ceb3be77d2ac5d4562aa2689d Mon Sep 17 00:00:00 2001 From: Damodar Lohani Date: Thu, 9 Apr 2026 07:36:58 +0000 Subject: [PATCH] remove migration changes from V24.php Co-Authored-By: Claude Opus 4.6 (1M context) --- src/Appwrite/Migration/Version/V24.php | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/src/Appwrite/Migration/Version/V24.php b/src/Appwrite/Migration/Version/V24.php index d7a73de109..a2d9d7907b 100644 --- a/src/Appwrite/Migration/Version/V24.php +++ b/src/Appwrite/Migration/Version/V24.php @@ -372,28 +372,6 @@ class V24 extends Migration $document->setAttribute('resourceInternalId', $projectInternalId); } break; - case 'platforms': - $type = $document->getAttribute('type', ''); - $typeMap = [ - 'flutter-web' => 'web', - 'unity' => 'web', - 'flutter-ios' => 'apple', - 'flutter-macos' => 'apple', - 'apple-ios' => 'apple', - 'apple-macos' => 'apple', - 'apple-watchos' => 'apple', - 'apple-tvos' => 'apple', - 'react-native-ios' => 'apple', - 'flutter-android' => 'android', - 'react-native-android' => 'android', - 'flutter-windows' => 'windows', - 'flutter-linux' => 'linux', - ]; - - if (isset($typeMap[$type])) { - $document->setAttribute('type', $typeMap[$type]); - } - break; default: break; }