You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (in_array($attributeType, Database::SPATIAL_TYPES) && !$this->spatialIndexSupport) {
348
+
$this->message = "Spatial index is not supported";
349
+
returnfalse;
350
+
}
351
+
if (in_array($attributeType, Database::SPATIAL_TYPES) && !$required && !$this->spatialIndexNullSupport) {
352
+
$this->message = 'Spatial indexes do not allow null values. Mark the attribute "' . $attributeName . '" as required or create the index on a column with no null values.';
353
+
returnfalse;
354
+
}
355
+
if (in_array($attributeType, Database::SPATIAL_TYPES) && !empty($orders) && !$this->spatialIndexOrderSupport) {
356
+
$this->message = 'Spatial indexes with explicit orders are not supported. Remove the orders to create this index.';
0 commit comments