Commit f2abb41
clone/drop-database: forward admin URL's dbname as MAINTENANCE_DATABASE
DigitalOcean managed Postgres (and other managed services) don't expose
a `postgres` maintenance DB. The admin URL the consumer provides is
already proven to connect to *some* working DB (its path component), so
forward that as MAINTENANCE_DATABASE rather than relying on the
hardcoded `postgres` default in clone.sh / drop.sh.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent c3d7aa8 commit f2abb41
2 files changed
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
185 | 185 | | |
186 | 186 | | |
187 | 187 | | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
188 | 193 | | |
189 | 194 | | |
190 | 195 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
148 | 148 | | |
149 | 149 | | |
150 | 150 | | |
| 151 | + | |
| 152 | + | |
151 | 153 | | |
152 | 154 | | |
153 | 155 | | |
| |||
0 commit comments