updated migration

This commit is contained in:
ArnabChatterjee20k
2026-01-21 11:44:13 +05:30
parent d4edf9ed13
commit 56f68d33df
3 changed files with 11 additions and 11 deletions
Generated
+4 -4
View File
@@ -4584,12 +4584,12 @@
"source": {
"type": "git",
"url": "https://github.com/utopia-php/migration.git",
"reference": "0d0129f15d4daaf6ee14ac361a60036997569382"
"reference": "f6eadfcd91b60f59cf6ea3af14659466caf196b8"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/utopia-php/migration/zipball/0d0129f15d4daaf6ee14ac361a60036997569382",
"reference": "0d0129f15d4daaf6ee14ac361a60036997569382",
"url": "https://api.github.com/repos/utopia-php/migration/zipball/f6eadfcd91b60f59cf6ea3af14659466caf196b8",
"reference": "f6eadfcd91b60f59cf6ea3af14659466caf196b8",
"shasum": ""
},
"require": {
@@ -9110,5 +9110,5 @@
"platform-overrides": {
"php": "8.3"
},
"plugin-api-version": "2.2.0"
"plugin-api-version": "2.9.0"
}
@@ -206,12 +206,12 @@ class Create extends Action
$dbForDatabases->getAdapter()->getSupportForAttributes(),
$dbForDatabases->getAdapter()->getSupportForMultipleFulltextIndexes(),
$dbForDatabases->getAdapter()->getSupportForIdenticalIndexes(),
$dbForProject->getAdapter()->getSupportForObjectIndexes(),
$dbForProject->getAdapter()->getSupportForTrigramIndex(),
$dbForProject->getAdapter()->getSupportForSpatialAttributes(),
$dbForProject->getAdapter()->getSupportForIndex(),
$dbForProject->getAdapter()->getSupportForUniqueIndex(),
$dbForProject->getAdapter()->getSupportForFulltextIndex(),
$dbForDatabases->getAdapter()->getSupportForObjectIndexes(),
$dbForDatabases->getAdapter()->getSupportForTrigramIndex(),
$dbForDatabases->getAdapter()->getSupportForSpatialAttributes(),
$dbForDatabases->getAdapter()->getSupportForIndex(),
$dbForDatabases->getAdapter()->getSupportForUniqueIndex(),
$dbForDatabases->getAdapter()->getSupportForFulltextIndex(),
);
if (!$validator->isValid($index)) {
+1 -1
View File
@@ -220,7 +220,7 @@ class Migrations extends Action
$credentials['port'],
),
SourceAppwrite::getName() => new SourceAppwrite(
$credentials['endpoint'] === 'http://localhost/v1' ? 'http://appwrite/v1' : $credentials['endpoint'],
$credentials['projectId'],
$credentials['endpoint'],
$credentials['apiKey'],
$getDatabasesDB,