Skip to content

Commit 1c99db6

Browse files
authored
Merge pull request #9002 from can-guven/dev
postgresql connection string updated
2 parents f9688a9 + 192f715 commit 1c99db6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/Commands/Services/ConnectionStringProvider.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ public string GetByDbms(DatabaseManagementSystem databaseManagementSystem, strin
1616
case DatabaseManagementSystem.MySQL:
1717
return "Server=localhost;Port=3306;Database=MyProjectName;Uid=root;Pwd=myPassword;";
1818
case DatabaseManagementSystem.PostgreSQL:
19-
return "Host=localhost;Port=5432;Database=MyProjectName;User ID=root;Password=myPassword;Pooling=true;MinimumPoolSize=0;MaximumPoolSize=100;Connection Lifetime=0;";
19+
return "Host=localhost;Port=5432;Database=MyProjectName;User ID=root;Password=myPassword;";
2020
case DatabaseManagementSystem.Oracle:
2121
case DatabaseManagementSystem.OracleDevart:
2222
return "Data Source=MyProjectName;Integrated Security=yes;";
2323
case DatabaseManagementSystem.SQLite:
24-
return $"Data Source={Path.Combine(outputFolder , "MyProjectName.db")};".Replace("\\", "\\\\");
24+
return $"Data Source={Path.Combine(outputFolder, "MyProjectName.db")};".Replace("\\", "\\\\");
2525
default:
2626
return null;
2727
}

0 commit comments

Comments
 (0)