Skip to content

Instantly share code, notes, and snippets.

Last active September 21, 2015 18:16
What would you like to do?
Fix MySQL Connector/NET Bug #74726 / EF migrations fail on long foreign keys
Install-Package Pysco68.MySQL.FixedMigrationGenerator
internal sealed class Configuration : DbMigrationsConfiguration<MyContext>
public Configuration()
SetSqlGenerator("MySql.Data.MySqlClient", new FixedMySqlMigrationSqlGenerator());
/* OR */
/* snip */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment