jonpryor / dblinq2007

Automatically exported from code.google.com/p/dblinq2007
0 stars 0 forks source link

Error with Enums in MySql #319

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Create a Enum type in DB of MySql
2.Try creating the code for the DB

What is the expected output? What do you see instead?
Error

Please use labels and text to provide additional information.
I deed a simple patch for it
I added this lines in the "MySqlSchemaLoader"

if (column.SqlType == "enum")
{
  column.SqlType = "varchar";
}

Original issue reported on code.google.com by Yacov.Go...@gmail.com on 29 Jul 2011 at 12:24