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-27 21:10:27 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
13b28709f1b597f961ee7e34ed9708e8b6aad327
13b28709
1 parent
9e2aca6d
update and move fields
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
back/src/api/models.graphql
back/src/api/models.graphql
View file @
13b2870
...
...
@@ -4,8 +4,8 @@ type User {
username: String!
email: String!
password: String!
emailSecret: String
phoneNum: String!
emailSecret: String
phoneSecret: String
bio: String
rooms: [Room]
...
...
@@ -27,13 +27,14 @@ type Category {
id: ID!
name: String
room: Room
messages: [Message]
}
type Message {
id: ID!
text: String!
sender: User
room: Room
sender: User
!
room: Room
!
category: Category
createdAt: String
updatedAt: String
...
...
Please
register
or
login
to post a comment