mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
remove migration changes from V24.php
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
db18caf739
commit
7f82484436
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user