From 5f4b91c3501c379b2a57b98bcabe39019986bd73 Mon Sep 17 00:00:00 2001 From: Jake Barnby Date: Wed, 1 Apr 2026 02:03:21 +1300 Subject: [PATCH] (fix): correct ForeignKeyAction import namespace Use Utopia\Query\Schema\ForeignKeyAction instead of the non-existent Utopia\Database\ForeignKeyAction. Co-Authored-By: Claude Opus 4.6 (1M context) --- .../Databases/Http/Databases/Collections/Attributes/Action.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Action.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Action.php index 938dc49435..92d82e58de 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Action.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Action.php @@ -18,7 +18,6 @@ use Utopia\Database\Exception\Limit as LimitException; use Utopia\Database\Exception\Relationship as RelationshipException; use Utopia\Database\Exception\Structure as StructureException; use Utopia\Database\Exception\Truncate as TruncateException; -use Utopia\Database\ForeignKeyAction; use Utopia\Database\Helpers\ID; use Utopia\Database\RelationSide; use Utopia\Database\Validator\Authorization; @@ -26,6 +25,7 @@ use Utopia\Database\Validator\Structure; use Utopia\Http\Adapter\Swoole\Response as SwooleResponse; use Utopia\Platform\Action as UtopiaAction; use Utopia\Query\Schema\ColumnType; +use Utopia\Query\Schema\ForeignKeyAction; use Utopia\Validator\Range; abstract class Action extends UtopiaAction