sdy

update and move fields

...@@ -4,8 +4,8 @@ type User { ...@@ -4,8 +4,8 @@ type User {
4 username: String! 4 username: String!
5 email: String! 5 email: String!
6 password: String! 6 password: String!
7 - emailSecret: String
8 phoneNum: String! 7 phoneNum: String!
8 + emailSecret: String
9 phoneSecret: String 9 phoneSecret: String
10 bio: String 10 bio: String
11 rooms: [Room] 11 rooms: [Room]
...@@ -27,13 +27,14 @@ type Category { ...@@ -27,13 +27,14 @@ type Category {
27 id: ID! 27 id: ID!
28 name: String 28 name: String
29 room: Room 29 room: Room
30 + messages: [Message]
30 } 31 }
31 32
32 type Message { 33 type Message {
33 id: ID! 34 id: ID!
34 text: String! 35 text: String!
35 - sender: User 36 + sender: User!
36 - room: Room 37 + room: Room!
37 category: Category 38 category: Category
38 createdAt: String 39 createdAt: String
39 updatedAt: String 40 updatedAt: String
......