Toggle navigation
Toggle navigation
This project
Loading...
Sign in
2020-1-capstone-design1
/
Triz_Project1
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
1
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
sdy
2020-05-11 13:03:18 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
68c88887989eea5597027f8b382436d0207783a9
68c88887
1 parent
0efe80f8
update name to username in User model
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
5 deletions
back/prisma/schema.prisma
back/src/api/User/createAccount/createAccount.graphql
back/src/api/User/editProfile/editProfile.graphql
back/src/api/models.graphql
back/prisma/schema.prisma
View file @
68c8888
...
...
@@ -13,7 +13,7 @@ model User {
avatarUrl String? @default("")
email String @unique
password String
name
String
username
String
phoneNum String @default("") @unique
emailSecret String? @default("")
phoneSecret String? @default("")
...
...
back/src/api/User/createAccount/createAccount.graphql
View file @
68c8888
type Mutation {
createAccount(
name: String!
user
name: String!
email: String!
password: String!
bio: String
avatarUrl: String
phoneNum: String
phoneNum: String
!
): AuthPayload!
}
...
...
back/src/api/User/editProfile/editProfile.graphql
View file @
68c8888
type Mutation {
editProfile(
email: String!
name: String
user
name: String
bio: String
avatarUrl: String
phoneNum: String
...
...
back/src/api/models.graphql
View file @
68c8888
type User {
id: ID!
avatarUrl: String
name: String!
user
name: String!
email: String!
password: String!
emailSecret: String
...
...
Please
register
or
login
to post a comment