You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: TaskManagement/TaskManagement.Api/appsettings.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
{
2
2
"ConnectionStrings": {
3
-
"DefaultConnection": "Host=pgsql.avbc.dev;Port=5432;Database=avbc1;Username=avbc1;Password=Test01Api25;Pooling=true;SSL Mode=Prefer;Trust Server Certificate=true;SearchPath=taskmanagement"
3
+
"DefaultConnection": "Host=localhost;Port=5432;Database=bancodedados;Username=usuario;Password=senha;Pooling=true;SSL Mode=Prefer;Trust Server Certificate=true;SearchPath=taskmanagement"
Copy file name to clipboardExpand all lines: TaskManagement/TaskManagement.Infrastructure/Persistence/ProjetoDbContext.cs
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -244,7 +244,7 @@ public ProjetoDbContext CreateDbContext(string[] args)
244
244
245
245
// Connection string de exemplo para PostgreSQL.
246
246
// ⚠️ ATENÇÃO: Nunca versionar credenciais reais. Use variáveis de ambiente ou arquivos seguros em produção.
247
-
varconnectionString="Host=pgsql.avbc.dev;Port=5432;Database=avbc1;Username=avbc1;Password=Test01Api25;Pooling=true;SSL Mode=Prefer;Trust Server Certificate=true;SearchPath=taskmanagement";//"Host=localhost;Port=5432;Database=seu_banco;Username=seu_usuario;Password=sua_senha;SearchPath=taskmanagement";
247
+
varconnectionString="Host=localhost;Port=5432;Database=bancodedados;Username=usuario;Password=senha;Pooling=true;SSL Mode=Prefer;Trust Server Certificate=true;SearchPath=taskmanagement";
0 commit comments