added lead field to shout, new table event (#71)
* added lead field to shout, new table event * repurposed unused notifications table
This commit is contained in:
@@ -336,19 +336,6 @@ type Rating {
|
||||
value: Int!
|
||||
}
|
||||
|
||||
type Notification {
|
||||
kind: String! # unique primary key
|
||||
template: String!
|
||||
variables: [String]
|
||||
}
|
||||
|
||||
type UserNotification {
|
||||
id: Int! # primary key
|
||||
user: Int!
|
||||
kind: String! # NotificationTemplate.name
|
||||
values: [String]
|
||||
}
|
||||
|
||||
type User {
|
||||
id: Int!
|
||||
username: String! # to login, ex. email, phone
|
||||
@@ -367,7 +354,6 @@ type User {
|
||||
ratings: [Rating]
|
||||
bio: String
|
||||
about: String
|
||||
notifications: [Int]
|
||||
communities: [Int] # user participating communities
|
||||
oid: String
|
||||
}
|
||||
@@ -417,6 +403,7 @@ type Shout {
|
||||
id: Int!
|
||||
slug: String!
|
||||
body: String!
|
||||
lead: String
|
||||
createdAt: DateTime!
|
||||
topics: [Topic]
|
||||
mainTopic: String
|
||||
|
Reference in New Issue
Block a user