From 0c758a282abac7e78a06257ffd7bf053d33abf39 Mon Sep 17 00:00:00 2001 From: prateek banga Date: Thu, 27 Jul 2023 01:30:15 +0530 Subject: [PATCH] adds error attribute in queries for indexes and attributes --- src/Appwrite/Utopia/Database/Validator/Queries/Attributes.php | 3 ++- src/Appwrite/Utopia/Database/Validator/Queries/Indexes.php | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Appwrite/Utopia/Database/Validator/Queries/Attributes.php b/src/Appwrite/Utopia/Database/Validator/Queries/Attributes.php index c6549e73f8..4a35c82b73 100644 --- a/src/Appwrite/Utopia/Database/Validator/Queries/Attributes.php +++ b/src/Appwrite/Utopia/Database/Validator/Queries/Attributes.php @@ -10,7 +10,8 @@ class Attributes extends Base 'size', 'required', 'array', - 'status' + 'status', + 'error' ]; /** diff --git a/src/Appwrite/Utopia/Database/Validator/Queries/Indexes.php b/src/Appwrite/Utopia/Database/Validator/Queries/Indexes.php index c7486d1a88..56bc696706 100644 --- a/src/Appwrite/Utopia/Database/Validator/Queries/Indexes.php +++ b/src/Appwrite/Utopia/Database/Validator/Queries/Indexes.php @@ -8,6 +8,7 @@ class Indexes extends Base 'key', 'type', 'status', + 'error' ]; /**