joeaudette / cloudscribe.StarterKits

Deprecated - see below
Apache License 2.0
53 stars 21 forks source link

Migrations exception with MySQL provider #20

Closed rshestakou closed 7 years ago

rshestakou commented 7 years ago

Although you've implemented the solution already, I still get the exception when try to start any sample application that uses MySQL with empty database:

Unhandled Exception: System.AggregateException: One or more errors occurred. (Table 'compose.__EFMigrationsHistory' doesn't exist) ---> MySql.Data.MySqlClient.MySqlException: Table 'compose.__EFMigrationsHistory' doesn't exist

So the simplest solution for me right now is to create this table manually first, and then everything is working well, but I believe it could be solved without any hacks.

joeaudette commented 7 years ago

this is a known issue, please read the readme

rshestakou commented 7 years ago

Right, but here and here you could see in answers that all should work fine, or maybe it's me who didn't get it properly.

joeaudette commented 7 years ago

should yes, but it doesn't

yukozh commented 7 years ago

This issue has been solved in 1.1.1-prerelease-10013.