(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) <noreply@anthropic.com>
This commit is contained in:
Jake Barnby
2026-04-01 02:03:21 +13:00
co-authored by Claude Opus 4.6
parent 7520234e4a
commit 5f4b91c350
@@ -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