feature: Implements backup code.
All checks were successful
Release code / build (push) Successful in 9m35s

This commit is contained in:
Tera << 8 2024-12-26 15:14:26 -05:00
parent 862f307e56
commit e056911af4
Signed by: imterah
GPG key ID: 8FA7DD57BA6CEA37

View file

@ -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())