maybeNoT
Explore posts from serversPPrisma
•Created by maybeNoT on 6/18/2024 in #help-and-questions
Pointing two relations to same field?
I have a scenario where it make sense to store informations about two 1-n relation in one field.
I'm wondering if it is even possible to do something like this.
Consider this example:
This shows me an error of course:
But ideally I would like to have relation about
author1
and author2
stored separately on Post
table, and informations about these posts related to authors in one field with Post[]
.
In other words, I want to store informations about Post
related to the User
in one array, doesn't matter if a User
is in author1
or author2
field.
Is something like this possible?
- I'm using postgresql1 replies
NNovu
•Created by maybeNoT on 4/19/2024 in #💬│support
Self-Host: Triggering workflow to topic subscribers doesn't work
25 replies
NNovu
•Created by maybeNoT on 4/15/2024 in #💬│support
Triggering workflow to topic subscribers doesn't work.
I've got simple workflow defined
send-mail
which is just simply sending mails. I've tested it and I'm receiving mails when I'm triggering it to single subscriber, but it doesn't work when I try to trigger that to the topic.
First I created the topic like so:
Then I added two subscribers like so:
And now I'm trying to trigger
this worflow to the topic like this:
I'm getting back the transaction id in a response:
But no actual mail is delivered, and there's no such transaction id on my Activity Feed.
I've got Novu self-hosted and deployed with docker.
Any help appreaciated.36 replies