Quantcast
Channel: MySQL Forums - Connector/NET and C#, Mono, .Net
Viewing all articles
Browse latest Browse all 1447

FK indentifier is too long (1 reply)

$
0
0
Hi, I am running EF6.1.1 and MySQL connect 6.9.3

when running update-database for a code first project I get the following error. Is there a way to force identifiers to be shorter? A setting? Any other suggestions?

MySql.Data.MySqlClient.MySqlException (0x80004005): Identifier name 'FK_LoggerProgram_LoggerProgramBlob_LoggerProgramBlob_LoggerProgramBlobID' is too long
at MySql.Data.MySqlClient.MySqlStream.ReadPacket()
at MySql.Data.MySqlClient.NativeDriver.GetResult(Int32& affectedRow, Int64& insertedId)
at MySql.Data.MySqlClient.Driver.GetResult(Int32 statementId, Int32& affectedRows, Int64& insertedId)
at MySql.Data.MySqlClient.Driver.NextResult(Int32 statementId, Boolean force)
at MySql.Data.MySqlClient.MySqlDataReader.NextResult()

Thanks,

Karl

Viewing all articles
Browse latest Browse all 1447

Trending Articles



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