bump: sqlx #26

Merged
phoenix merged 8 commits from sqlx_bump into alot_of_changes 2026-06-20 23:11:15 -04:00
Showing only changes of commit 18ab8c887f - Show all commits
+2 -2
View File
@@ -31,7 +31,7 @@ mod db_mgr {
template_pool: &sqlx::PgPool, template_pool: &sqlx::PgPool,
db_name: &str, db_name: &str,
) -> Result<(), sqlx::Error> { ) -> Result<(), sqlx::Error> {
match sqlx::query(r#"CREATE DATABASE $1"#) match sqlx::query(r#"CREATE DATABASE {}"#)
.bind(db_name) .bind(db_name)
.execute(template_pool) .execute(template_pool)
.await .await
@@ -69,7 +69,7 @@ mod db_mgr {
template_pool: &sqlx::PgPool, template_pool: &sqlx::PgPool,
db_name: &str, db_name: &str,
) -> Result<(), sqlx::Error> { ) -> Result<(), sqlx::Error> {
sqlx::query(r#"DROP DATABASE IF EXISTS $1 WITH (FORCE)"#) sqlx::query(r#"DROP DATABASE IF EXISTS {} WITH (FORCE)"#)
.bind(db_name) .bind(db_name)
.execute(template_pool) .execute(template_pool)
.await?; .await?;