From b1fac0eb24d6562475ab8b6d8693ab5756602091 Mon Sep 17 00:00:00 2001 From: Zhelovanov_Dmitrii Date: Wed, 17 May 2023 17:52:49 +0400 Subject: [PATCH] =?UTF-8?q?=D0=98=D0=B7=D0=BC=D0=B5=D0=BD=D0=B8=D0=BB(?= =?UTF-8?q?=D0=B0)=20=D0=BD=D0=B0=20'TaskTrackerRestAPI/TaskTrackerDatabas?= =?UTF-8?q?eImplement/TasktrackerContext.cs'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../TaskTrackerDatabaseImplement/TasktrackerContext.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TaskTrackerRestAPI/TaskTrackerDatabaseImplement/TasktrackerContext.cs b/TaskTrackerRestAPI/TaskTrackerDatabaseImplement/TasktrackerContext.cs index d8e9034..cf86c90 100644 --- a/TaskTrackerRestAPI/TaskTrackerDatabaseImplement/TasktrackerContext.cs +++ b/TaskTrackerRestAPI/TaskTrackerDatabaseImplement/TasktrackerContext.cs @@ -27,7 +27,7 @@ public partial class TasktrackerContext : DbContext protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder) #warning To protect potentially sensitive information in your connection string, you should move it out of source code. You can avoid scaffolding the connection string by using the Name= syntax to read it from configuration - see https://go.microsoft.com/fwlink/?linkid=2131148. For more guidance on storing connection strings, see http://go.microsoft.com/fwlink/?LinkId=723263. - => optionsBuilder.UseNpgsql("Host=192.168.56.101;Port=5432;Database=tasktracker;Username=postgres;Password=urogil01"); + => optionsBuilder.UseNpgsql("Host=192.168.56.101;Port=5432;Database=tasktracker;Username=postgres;Password=******"); protected override void OnModelCreating(ModelBuilder modelBuilder) {