Closed xiongtec closed 8 years ago
And?
Sorry forgot to mentioned that it throwing exception when I was using DropCreateDatabaseAlways initializer. The query would get mysql exception until I changed key to TokenKey.
I guess I don't know enough about how EF and MySql work together to help.
hopefully anyone who is using your awesome framework and MySQL this will help them.
And so do you have a solution to the problem?
Key renamed to TokenKey.
Ah ok, now I understand -- you had to change the column mapping for the Key property. Did you do this by forking the code and doing a custom build, or did you introduce a custom DbContext and override the mapping behavior?
took source here https://github.com/Nicholi/IdentityServer3.EntityFramework.MySql and changed the key property because I was also having the timestamp issue earlier the week to.
Ok, thanks for the info.
Token has a property named Key which is a reserved keyword in MySQL.