Ural Bayhan
06/15/2022, 8:03 PMAustin
06/15/2022, 9:45 PMUral Bayhan
06/16/2022, 9:27 AMEntity
table, and an Article
table.
model Article {
id Int @id @default(autoincrement())
mentionedEntities Entity[]
...
}
model Entity {
id Int @id @default(autoincrement())
mentioningArticles Article[]
...
}
What I want is, to add some metadata to this relation, like
ArticleToEntity {
article
articleId
entity
entityId
sentiment float <-- this is the metadata I'm talking about
}
Ural Bayhan
06/16/2022, 9:31 AM_ArticleToEntity
table, and code that is interacting with this schema. Should I take down the app, update schema, copy stuff, and restart the app after adjusting the code?Austin
06/17/2022, 9:33 PMUral Bayhan
06/17/2022, 9:51 PMAustin
06/20/2022, 11:21 PM