Adapt a query body written with SQLite-style `?` placeholders to the active dialect. SQLite keeps `?`; Postgres needs `$1..$N`. The sqlx `Any` driver does not translate placeholders, so a `?` reaches Postgres verbatim and is rejected ("syntax error at end of input").
(&self, query: &'a str)
| 176 | .await |
| 177 | .context("adding servers.token_hash")?; |
| 178 | } |
| 179 | Ok(()) |
| 180 | } |
| 181 | |
| 182 | async fn create_post_migration_indexes(&self) -> Result<()> { |
| 183 | sqlx::raw_sql( |
no test coverage detected