Quantcast
Channel: ASP.NET Core
Viewing all articles
Browse latest Browse all 9386

MySQL + ef core migrations

$
0
0

Hi,

I have found on this forum a few unofficial connectors to mysql database. I try use: https://github.com/PomeloFoundation/Pomelo.EntityFrameworkCore.MySql . I have problems with migrations(code first): it is impossibe to execute add-migration or update-database command. I got information: "Both Entity Framework Core and Entity Framework 6.x commands are installed. The Entity Framework Core version is executing. You can fully qualify the command to select which one to execute, 'EntityFramework\Add-Migration' for EF6.x and 'EntityFrameworkCore\Add-Migration' for EF Core." and i cannot run any command.

I follow instructions from this (https://github.com/PomeloFoundation/Pomelo.EntityFrameworkCore.MySql ) site.

Do anyone know how to run migrations to mysql database? Maybe another connector? Maybe it is not possible...


Viewing all articles
Browse latest Browse all 9386

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>