Fixed endpoints for /users and /messages.

This commit is contained in:
2025-07-05 10:22:45 +02:00
parent 070ccd79fd
commit 468d029ed5
11 changed files with 303 additions and 8 deletions

View File

@ -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);
}
}
}