зеркало из https://github.com/aspnet/Identity.git
Forgot to save this file so it didn't get included in the last checkin.
This commit is contained in:
Родитель
be7c69e5c0
Коммит
ea3ab84340
|
@ -90,10 +90,7 @@ namespace Microsoft.AspNet.Identity.Entity.Test
|
|||
var db = new IdentitySqlContext(serviceProvider);
|
||||
|
||||
// TODO: Recreate DB, doesn't support String ID or Identity context yet
|
||||
if (!db.Database.Exists())
|
||||
{
|
||||
db.Database.Create();
|
||||
}
|
||||
db.Database.EnsureCreated();
|
||||
|
||||
// TODO: CreateAsync DB?
|
||||
return db;
|
||||
|
@ -108,10 +105,7 @@ namespace Microsoft.AspNet.Identity.Entity.Test
|
|||
var db = new ApplicationDbContext(serviceProvider);
|
||||
|
||||
// TODO: Recreate DB, doesn't support String ID or Identity context yet
|
||||
if (!db.Database.Exists())
|
||||
{
|
||||
db.Database.Create();
|
||||
}
|
||||
db.Database.EnsureCreated();
|
||||
|
||||
// TODO: CreateAsync DB?
|
||||
return db;
|
||||
|
|
Загрузка…
Ссылка в новой задаче