When executing the migrator of the 4.0.0 version into a database created with 3.4.0 version, I get this error: System.Data.SqlClient.SqlException (0x80131904): There is already an object named 'AbpEditions' in the database.
To replicate: 1- Create a database with the 3.4.0 version 2- Download the 4.0.0 project 3- Run the migrator on top of the database created in step 1
So my first question is if I should expect this kind of break between major versions (3 to 4) or if this is something that was not supposed to happen?
Thanks
1 Answer(s)
-
0
Hi,
I assume you have tried with AspNet Core version for 4.0. If so, v4.0 uses Entity Framework Core and v3.x uses Ef 6.x and they have different table names for migration history. This is the expected behaviour.
Actually this is a breaking change between Ef 6.x and Ef Core.