fix: standardize on CODER_PG_CONNECTION_URL (#7781)

Fixes #7513.
This commit is contained in:
Asher
2023-06-01 15:02:29 -08:00
committed by GitHub
parent 613f90cf2b
commit 9704945428
4 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -238,7 +238,7 @@ func (r *RootCmd) newCreateAdminUserCommand() *clibase.Cmd {
createAdminUserCommand.Options.Add(
clibase.Option{
Env: "CODER_POSTGRES_URL",
Env: "CODER_PG_CONNECTION_URL",
Flag: "postgres-url",
Description: "URL of a PostgreSQL database. If empty, the built-in PostgreSQL deployment will be used (Coder must not be already running in this case).",
Value: clibase.StringOf(&newUserDBURL),