Initial commit carried over from private repo. This is V2.
This commit is contained in:
@ -0,0 +1,12 @@
|
||||
using Microsoft.EntityFrameworkCore.Design;
|
||||
|
||||
namespace MessengerApi.Db.Sql.Migrator
|
||||
{
|
||||
public partial class DesignTimeDbContextFactory : IDesignTimeDbContextFactory<MessengerSqlDbContext>
|
||||
{
|
||||
public MessengerSqlDbContext CreateDbContext(string[] args)
|
||||
{
|
||||
return new MessengerSqlDbContext(this.ConnectionString);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user