Fixed endpoints for /users and /messages.
This commit is contained in:
@ -0,0 +1,12 @@
|
||||
using Microsoft.EntityFrameworkCore.Design;
|
||||
|
||||
namespace MessengerBroker.Db.Sql.Migrator
|
||||
{
|
||||
public partial class DesignTimeDbContextFactory : IDesignTimeDbContextFactory<BrokerSqlDbContext>
|
||||
{
|
||||
public BrokerSqlDbContext CreateDbContext(string[] args)
|
||||
{
|
||||
return new BrokerSqlDbContext(CONNECTION_STRING);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user