Обновить зависимости проекта
This commit is contained in:
1 parent
c7e5efa976
commit
fd8571ad10
20 files changed
+773
-1073
No files matched your search
@@ -1,7 +1,7 @@
|
||||
use std::time::Duration;
|
||||
|
||||
use sqlx::{
|
||||
PgPool,
|
||||
AssertSqlSafe, PgPool,
|
||||
postgres::{PgConnectOptions, PgPoolOptions},
|
||||
};
|
||||
|
||||
@@ -58,7 +58,7 @@ impl PostgresRegistry {
|
||||
.await?;
|
||||
|
||||
if let Some(schema) = schema {
|
||||
sqlx::query(&format!("set search_path to {schema}"))
|
||||
sqlx::query(AssertSqlSafe(format!("set search_path to {schema}")))
|
||||
.execute(&pool)
|
||||
.await?;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user