Replies: 1 comment
-
|
I'm using a workaround in the meantime - in test environment, the The test database config now looks like: The model: With this, the tests are running fine, but I'm not confident that it's the right way to do it. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I was trying to add a shared model to an existing tenanted application. I have a setup similar to this test scenario
This is how my
database.ymllooks like (I started to addshared):And the models:
In development environment, everything runs fine (db migration ran, and the app works as expected). However, when I run test (minitest) on any of my models, it will result in
What could have been the cause? Any direction should I be looking at?
Thank you
Beta Was this translation helpful? Give feedback.
All reactions