docs: add database config strings allowed (#521)

This commit is contained in:
Jeff Malnick authored and GitHub committed 2020-10-02 18:20:54 -07:00
1 parent d406ffc692
commit 863554128a
1 file changed
+7 -1
@@ -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://).