Adding db infrastructure setup

This commit is contained in:
Janus Knudsen 2025-01-24 18:04:35 +01:00
parent 7dae58ec1e
commit 58bf4bea00
11 changed files with 125 additions and 6 deletions

View file

@ -0,0 +1,22 @@
namespace SetupInfrastructure
{
/// <summary>
/// SETUP APPLICATION USER NAMED sathumper
///
/// This should be handled on the Postgresql db server with a superadmin or similar.
///
/// Execute SQL CreateRole.txt
///
/// After that is executed it is time for running this main program
/// Remember to use the newly created sathumper
/// "ConnectionStrings": {
/// "ptdb": "Host=192.168.1.57;Port=5432;Database=ptdb01;User Id=sathumper;Password=<secret>;"
/// </summary>
internal class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hello, World!");
}
}
}