You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to use two mysql db´s and incorporate the resolver in order to set on as the master/source db and the other one as a backup/replica.
Read the docs and set dsn1 and dsn2 accordingly, my problem is that auto migrate only checks/creates models on dsn1, so later on in the code when data is being pulled from tables I get the error that the table does not exist on dsn2?
What did I understand wrong, Does auto migrate not check both db´s ?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I would like to use two mysql db´s and incorporate the resolver in order to set on as the master/source db and the other one as a backup/replica.
Read the docs and set dsn1 and dsn2 accordingly, my problem is that auto migrate only checks/creates models on dsn1, so later on in the code when data is being pulled from tables I get the error that the table does not exist on dsn2?
What did I understand wrong, Does auto migrate not check both db´s ?
Beta Was this translation helpful? Give feedback.
All reactions