Replies: 1 comment
-
It is - you would have to define the DB connection in a Middleware depending on which school this request is about. |
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
-
Just wanted to ask if there is a way that I can log a model depending on which database the model is assigned to.
For example I have DB1 for School1 Database and DB2 for School2 Database and I wanted to have a separate activity logs for each of the database using spatie package.
Not sure if that is possible.
Appreciate the response.
Beta Was this translation helpful? Give feedback.
All reactions