mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
adjust social media types to fit new definition
This commit is contained in:
parent
ab3fea19d5
commit
0e1abad123
@ -134,5 +134,5 @@ type SharedInboxEndpoint {
|
||||
type SocialMedia {
|
||||
id: ID!
|
||||
url: String
|
||||
ownedBy: [User]! @relation(name: "OWNED", direction: "IN")
|
||||
ownedBy: [User]! @relation(name: "OWNED_BY", direction: "IN")
|
||||
}
|
||||
|
||||
@ -17,7 +17,6 @@ type User {
|
||||
location: Location @cypher(statement: "MATCH (this)-[:IS_IN]->(l:Location) RETURN l")
|
||||
locationName: String
|
||||
about: String
|
||||
socialMedia: [SocialMedia]! @relation(name: "OWNED", direction: "OUT")
|
||||
|
||||
#createdAt: DateTime
|
||||
#updatedAt: DateTime
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user