feature: Implements backup code.
All checks were successful
Release code / build (push) Successful in 9m35s
All checks were successful
Release code / build (push) Successful in 9m35s
This commit is contained in:
parent
862f307e56
commit
e056911af4
1 changed files with 1 additions and 1 deletions
|
@ -174,7 +174,7 @@ func backupRestoreEntrypoint(cCtx *cli.Context) error {
|
|||
|
||||
log.Info("Dropping database...")
|
||||
|
||||
_, err = db.Query(context.Background(), "DROP DATABASE ?", postgresDB)
|
||||
_, err = db.Query(context.Background(), "DROP DATABASE $1", postgresDB)
|
||||
|
||||
if err != nil {
|
||||
return fmt.Errorf("failed to drop database: %s", err.Error())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue