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
Hello,
I am trying to clone into another database. $duplicate = Ticket::where('id',$id)->first()->setConnection('mysql2')->duplicate();
but it will not duplicate into the other database and duplicates to the default database. Please tell me how I can duplicate into another database.
The text was updated successfully, but these errors were encountered:
Hello,
I am trying to clone into another database.
$duplicate = Ticket::where('id',$id)->first()->setConnection('mysql2')->duplicate();
but it will not duplicate into the other database and duplicates to the default database. Please tell me how I can duplicate into another database.
The text was updated successfully, but these errors were encountered: