From 037835fb61ccbe4a46a7eb8902e0b80dc88c436e Mon Sep 17 00:00:00 2001 From: Guillermo Gonzalez Date: Thu, 11 May 2023 17:49:53 +0200 Subject: [PATCH] Add new email attribute to provider model (#165) --- src/api/provider/content-types/provider/schema.json | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/api/provider/content-types/provider/schema.json b/src/api/provider/content-types/provider/schema.json index 6b630a2..4545c6f 100644 --- a/src/api/provider/content-types/provider/schema.json +++ b/src/api/provider/content-types/provider/schema.json @@ -8,8 +8,7 @@ "description": "" }, "options": { - "draftAndPublish": false, - "timestamps": true + "draftAndPublish": false }, "attributes": { "provider": { @@ -39,6 +38,9 @@ "relation": "manyToOne", "target": "plugin::users-permissions.user", "inversedBy": "providers" + }, + "email": { + "type": "email" } } }