diff options
| author | Alexander Kavon <hawk@alexkavon.com> | 2023-11-28 18:32:19 -0500 |
|---|---|---|
| committer | Alexander Kavon <hawk@alexkavon.com> | 2023-11-28 18:32:19 -0500 |
| commit | 1597c23f84346dfa44da9605286863b11006bdb5 (patch) | |
| tree | 78a2abbefc1bbcc9a13691e09ac252b5400a5b00 /migrations/tern.conf | |
| parent | 629b0189b7bf20c748a1d37f8803ad0e3ffb8a49 (diff) | |
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
Diffstat (limited to 'migrations/tern.conf')
| -rw-r--r-- | migrations/tern.conf | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/migrations/tern.conf b/migrations/tern.conf new file mode 100644 index 0000000..e52b80c --- /dev/null +++ b/migrations/tern.conf @@ -0,0 +1,34 @@ +[database] +# host is required (network host or path to Unix domain socket) +host = localhost +port = 9002 +# database is required +database = newsstand +# user defaults to OS user +user = newsstand +password = newsstand +version_table = public.schema_version +# +# sslmode generally matches the behavior described in: +# http://www.postgresql.org/docs/9.4/static/libpq-ssl.html#LIBPQ-SSL-PROTECTION +# +# There are only two modes that most users should use: +# prefer - on trusted networks where security is not required +# verify-full - require SSL connection +# sslmode = prefer +# +# sslrootcert is generally used with sslmode=verify-full +# sslrootcert = /path/to/root/ca + +# Proxy the above database connection via SSH +# [ssh-tunnel] +# host = +# port = 22 +# user defaults to OS user +# user = +# password is not required if using SSH agent authentication +# password = + +[data] +# Any fields in the data section are available in migration templates +# prefix = foo |
