Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Jay Mehta
/
zango-strapi
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Registry
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit 6662bada
authored
2024-05-10 10:40:35 +0530
by
jaymehta
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
user relation in end user
1 parent
5598e022
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
0 deletions
src/api/end-user/content-types/end-user/schema.json
src/extensions/users-permissions/content-types/user/schema.json
src/api/end-user/content-types/end-user/schema.json
View file @
6662bad
...
@@ -23,6 +23,12 @@
...
@@ -23,6 +23,12 @@
},
},
"email"
:
{
"email"
:
{
"type"
:
"string"
"type"
:
"string"
},
"user"
:
{
"type"
:
"relation"
,
"relation"
:
"oneToOne"
,
"target"
:
"plugin::users-permissions.user"
,
"inversedBy"
:
"endUser"
}
}
}
}
}
}
src/extensions/users-permissions/content-types/user/schema.json
View file @
6662bad
...
@@ -82,6 +82,12 @@
...
@@ -82,6 +82,12 @@
},
},
"rejectionReason"
:
{
"rejectionReason"
:
{
"type"
:
"string"
"type"
:
"string"
},
"endUser"
:
{
"type"
:
"relation"
,
"relation"
:
"oneToOne"
,
"target"
:
"api::end-user.end-user"
,
"inversedBy"
:
"user"
}
}
}
}
}
}
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment