I tried to enable migrations using the command
But I got the error below, I didn't really understand how to solve it...
The error message :
Checking if the context targets an existing database... No MigrationSqlGenerator found for provider 'MySql.Data.MySqlClient'. Use the SetSqlGenerator method in the target migrations configuration class to register additional SQL generators.
I assume your project is a .net core application and you are using visual studio.