From 863554128afceb167c836cb65de97a8b78237626 Mon Sep 17 00:00:00 2001 From: Jeff Malnick Date: Fri, 2 Oct 2020 18:20:54 -0700 Subject: [PATCH] docs: add database config strings allowed (#521) --- website/content/docs/configuration/controller.mdx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/website/content/docs/configuration/controller.mdx b/website/content/docs/configuration/controller.mdx index 6428ff89c5..70ff612bdd 100644 --- a/website/content/docs/configuration/controller.mdx +++ b/website/content/docs/configuration/controller.mdx @@ -24,4 +24,10 @@ controller { - `description` - Specifies a friendly description of this controller. -- `database` - Configuration block with one parameter, `url`, for connecting to Postgres. +- `database` - Configuration block with two valid parameters for connecting to Postgres: + - `url` - Configures the URL for connecting to Postgres + - `migration_url` - Can be used to specify a different URL for the migrations, as that + usually requires higher priviledges. + + Either can refer to a file on disk (file://) from which a URL will be read; an env + var (env://) from which the URL will be read; or a direct database URL (postgres://).