diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Indexes/Create.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Indexes/Create.php index c5a429a79b..733259f091 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Indexes/Create.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Indexes/Create.php @@ -190,8 +190,6 @@ class Create extends Action 'orders' => $orders, ]); - // Determine adapter capabilities. For TablesDB, be permissive to accept requests - // and let the background worker enforce engine-specific constraints. $maxIndexLength = $dbForProject->getAdapter()->getMaxIndexLength(); $internalIndexesKeys = $dbForProject->getAdapter()->getInternalIndexesKeys(); $supportForIndexArray = $dbForProject->getAdapter()->getSupportForIndexArray(); diff --git a/src/Appwrite/Utopia/Response/Model/AttributeLine.php b/src/Appwrite/Utopia/Response/Model/AttributeLine.php index 6e0586e8b4..a4d9c75672 100644 --- a/src/Appwrite/Utopia/Response/Model/AttributeLine.php +++ b/src/Appwrite/Utopia/Response/Model/AttributeLine.php @@ -21,10 +21,6 @@ class AttributeLine extends Attribute ; } - public array $conditions = [ - 'type' => 'linestring' - ]; - /** * Get Name * diff --git a/src/Appwrite/Utopia/Response/Model/AttributePoint.php b/src/Appwrite/Utopia/Response/Model/AttributePoint.php index 4a13054d96..47b83cc58b 100644 --- a/src/Appwrite/Utopia/Response/Model/AttributePoint.php +++ b/src/Appwrite/Utopia/Response/Model/AttributePoint.php @@ -21,10 +21,6 @@ class AttributePoint extends Attribute ; } - public array $conditions = [ - 'type' => 'point' - ]; - /** * Get Name * diff --git a/src/Appwrite/Utopia/Response/Model/AttributePolygon.php b/src/Appwrite/Utopia/Response/Model/AttributePolygon.php index c28d8f66ed..8ef7f4ab73 100644 --- a/src/Appwrite/Utopia/Response/Model/AttributePolygon.php +++ b/src/Appwrite/Utopia/Response/Model/AttributePolygon.php @@ -21,10 +21,6 @@ class AttributePolygon extends Attribute ; } - public array $conditions = [ - 'type' => 'polygon' - ]; - /** * Get Name * diff --git a/src/Appwrite/Utopia/Response/Model/ColumnLine.php b/src/Appwrite/Utopia/Response/Model/ColumnLine.php index 08bd66ce9c..01a6c6fe02 100644 --- a/src/Appwrite/Utopia/Response/Model/ColumnLine.php +++ b/src/Appwrite/Utopia/Response/Model/ColumnLine.php @@ -21,10 +21,6 @@ class ColumnLine extends Column ; } - public array $conditions = [ - 'type' => 'linestring' - ]; - /** * Get Name * diff --git a/src/Appwrite/Utopia/Response/Model/ColumnPoint.php b/src/Appwrite/Utopia/Response/Model/ColumnPoint.php index ffc6ed6789..6ec5229011 100644 --- a/src/Appwrite/Utopia/Response/Model/ColumnPoint.php +++ b/src/Appwrite/Utopia/Response/Model/ColumnPoint.php @@ -21,10 +21,6 @@ class ColumnPoint extends Column ; } - public array $conditions = [ - 'type' => 'point' - ]; - /** * Get Name * diff --git a/src/Appwrite/Utopia/Response/Model/ColumnPolygon.php b/src/Appwrite/Utopia/Response/Model/ColumnPolygon.php index 9b3a6f1030..6a9a14d548 100644 --- a/src/Appwrite/Utopia/Response/Model/ColumnPolygon.php +++ b/src/Appwrite/Utopia/Response/Model/ColumnPolygon.php @@ -21,10 +21,6 @@ class ColumnPolygon extends Column ; } - public array $conditions = [ - 'type' => 'polygon' - ]; - /** * Get Name *