Hi folks.
I have a web app running using foreign keys for multitenancy (see Multi tenancy with foreign keys).
Turns out Oban doesn’t play so nicely with this set up due to the prepare_query/3 function in the Repo module. I saw one issue related to this on Github (see Set flag in query options to detect oban query) but no solution.
I have managed to get Oban up and running by creating a second repo module with the same database configuration, except only for Oban.
Are there any drawbacks to using two repos in this way?