Skip to content

Commit

Permalink
renamed migration table
Browse files Browse the repository at this point in the history
  • Loading branch information
alimon808 committed Aug 16, 2017
1 parent 6c20f5f commit 6fe63f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ContosoUniversity.Data/ApplicationContextFactory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ private ApplicationContext Create(string connectionString)
}

var optionsBuilder = new DbContextOptionsBuilder<ApplicationContext>();
optionsBuilder.UseSqlServer(connectionString);
optionsBuilder.UseSqlServer(connectionString, x => x.MigrationsHistoryTable("Migration", "Contoso"));

return new ApplicationContext(optionsBuilder.Options);
}
Expand Down

0 comments on commit 6fe63f1

Please sign in to comment.