IntranetFactory / migratordotnet

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

MySQL column of type LONGTEXT #112

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Mapping for LONGTEXT is missing. I Googled for the value got casting errors, 
which makes sense (4294967295)  :)

So I tried something like setting it to zero or -1 but then it just defaulted 
to VARCHAR(255). 

Not sure what would be the best fix for this:

new Column("StyleSheet", DbType.String, -1) //Set to default
new Column("StyleSheet", DbType.String, 0) //Set to default
new Column("StyleSheet", DbType.String, "LONGTEXT") //Possible option

Nick

Original issue reported on code.google.com by Nick.G.C...@googlemail.com on 14 May 2009 at 11:30