Skip to content

Commit 5150e7b

Browse files
committed
Modify startup to use MySQL
1 parent c1efe5f commit 5150e7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

MySqlDotnetCore/Startup.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public Startup(IConfiguration configuration)
2828
public void ConfigureServices(IServiceCollection services)
2929
{
3030
services.AddDbContext<ApplicationDbContext>(options =>
31-
options.UseSqlServer(
31+
options.UseMySQL(
3232
Configuration.GetConnectionString("DefaultConnection")));
3333
services.AddDefaultIdentity<IdentityUser>(options => options.SignIn.RequireConfirmedAccount = true)
3434
.AddEntityFrameworkStores<ApplicationDbContext>();

0 commit comments

Comments
 (0)