migration wip, minor fixes scheme

This commit is contained in:
2021-08-23 11:44:46 +03:00
parent 8cef32c7a4
commit 9343f784b4
12 changed files with 1106 additions and 69 deletions

View File

@@ -145,23 +145,23 @@ type UserNotification {
}
type User {
id: Int!
username: String! # email
createdAt: DateTime!
slug: String!
viewname: String # to display
email: String
password: String
oauth: String # provider:token
viewname: String # to display
userpic: String
links: [String]
emailConfirmed: Boolean # should contain all emails too # TODO: pagination here
id: Int!
muted: Boolean
rating: Int
roles: [Role]
updatedAt: DateTime
wasOnlineAt: DateTime
ratings: [Rating]
slug: String
bio: String
notifications: [Int]
}