From 1597c23f84346dfa44da9605286863b11006bdb5 Mon Sep 17 00:00:00 2001 From: Alexander Kavon Date: Tue, 28 Nov 2023 18:32:19 -0500 Subject: added migrations via tern, updated db package to connect to pgsql db, updated config to build db connection string, updated example .newsstand.toml config, new pgx dependency --- .newsstandrc.toml.example | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to '.newsstandrc.toml.example') diff --git a/.newsstandrc.toml.example b/.newsstandrc.toml.example index 0b12f95..7b35ccc 100644 --- a/.newsstandrc.toml.example +++ b/.newsstandrc.toml.example @@ -1,7 +1,10 @@ [database] adapter = "postgresql" +hostname = "localhost" +port = "5432" user = "newsstand" -pass = "newsstand" +secret = "newsstand" +dbname = "newsstand" [server] port = "8080" -- cgit v1.2.3