Support the ongoing development of Laravel.io →
Laravel Database Eloquent
1

I solved my problem

my problem was when I was doing the migration I misconfigured at the level of schema mapping with sql server migration assistant for mysql.

all my tables in sql server db was : mysql_db_name.table_name

Solution

Source Schema: mysql_db_name

Target Schema : sqlsrv_db_name.dbo

dbo is required

now all tables are as follows : dbo.table_name

1

Sign in to participate in this thread!

LoadForge

Your banner here too?

Tchokouma tchokouma Joined 1 Dec 2022

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2023 Laravel.io - All rights reserved.