Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
EF migration and sql upgrade file got wrong version numbers #235
When I changed versioning schemes from v1.1 to v2.0, I overlooked these two things :( Unless you run pre-released Fanray, this will not affect you.
-- lookup SELECT * FROM dbo.__EFMigrationsHistory WHERE MigrationId = '20180530163323_FanV1_1' -- update to new name UPDATE [dbo].[__EFMigrationsHistory] SET [MigrationId] = '20180530163323_FanV2_0' WHERE MigrationId = '20180530163323_FanV1_1' GO -- put it back UPDATE [dbo].[__EFMigrationsHistory] SET [MigrationId] = '20180530163323_FanV1_1' WHERE MigrationId = '20180530163323_FanV2_0' GO
There are several files require modification