mirror of
https://github.com/launchbadge/sqlx.git
synced 2025-10-02 15:25:32 +00:00
sqlx_cli::db::run_drop: actually print the database name in confirm
This commit is contained in:
parent
35fd6f64cc
commit
9729385257
@ -39,7 +39,10 @@ pub async fn run_drop() -> anyhow::Result<()> {
|
||||
|
||||
if db_exists {
|
||||
if !Confirmation::new()
|
||||
.with_text("\nAre you sure you want to drop the database: {}?")
|
||||
.with_text(&format!(
|
||||
"\nAre you sure you want to drop the database: {}?",
|
||||
db_name
|
||||
))
|
||||
.default(false)
|
||||
.interact()?
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user