We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df1ed31 commit 2e7fa1fCopy full SHA for 2e7fa1f
swiftide-pgvector/src/persist.rs
@@ -16,8 +16,8 @@ impl Persist for PgVector {
16
let mut tx = pool.begin().await?;
17
18
// create extension
19
- let sql = format!("CREATE EXTENSION IF NOT EXISTS vector");
20
- sqlx::query(&sql).execute(&mut *tx).await?;
+ let sql = "CREATE EXTENSION IF NOT EXISTS vector";
+ sqlx::query(sql).execute(&mut *tx).await?;
21
22
// create table
23
let sql = format!(
0 commit comments