feat(dal): Таблицы для расписания ЕСПП
This commit is contained in:
@@ -23,8 +23,11 @@ namespace PARR.DAL
|
||||
/// <param name="configuration"></param>
|
||||
public static void InstallDalServices(this IServiceCollection services, IConfiguration configuration)
|
||||
{
|
||||
//.EnableSensitiveDataLogging() - вкл подробное логирование при применении миграций, на проде выключить
|
||||
services.AddDbContext<DataContext>(opt =>
|
||||
opt.UseNpgsql(configuration.GetConnectionString("DefaultConnection"))
|
||||
opt
|
||||
.EnableSensitiveDataLogging()
|
||||
.UseNpgsql(configuration.GetConnectionString("DefaultConnection"))
|
||||
);
|
||||
|
||||
services.AddTransient<V1_IHostService, V1_HostService>();
|
||||
|
||||
Reference in New Issue
Block a user