Now I run Update-Database again just to test, and instead of "No changes detected" I get this:
Code: Select all
PM> Update-Database -Verbose -Project testProject.Web
Using StartUp project 'testProject.Web'.
Target database is: 'testProject_dbo' (DataSource: localhost, Provider: Devart.Data.MySql, Origin: Explicit).
Applying explicit migrations: [201203151243164_Start].
Applying explicit migration: 201203151243164_Start.
CREATE TABLE attachments (
...table data...
)
Table 'attachments' already exists
Table 'attachments' already exists
I have followed the instructions in the blog post and everything works up to this point, so I'm not sure if the problem is in EF or the MySql connector. Any ideas?