Merge pull request #3789 from influxdata/dom/fix-catalog-migrations
fix: "catalog setup" migrations in non-public schemapull/24376/head
commit
50aa39ff3f
|
@ -237,6 +237,7 @@ jobs:
|
|||
- cache_restore
|
||||
- run: cargo install sqlx-cli
|
||||
- run: sqlx database create
|
||||
- run: INFLUXDB_IOX_CATALOG_DSN=${DATABASE_URL} cargo run -- catalog setup
|
||||
- run:
|
||||
name: Cargo test
|
||||
command: cargo test --workspace --features=aws,azure,azure_test
|
||||
|
|
|
@ -253,7 +253,7 @@ async fn new_raw_pool(
|
|||
.execute(&mut *c)
|
||||
.await?;
|
||||
}
|
||||
let search_path_query = format!("SET search_path TO {}", schema_name);
|
||||
let search_path_query = format!("SET search_path TO {},public", schema_name);
|
||||
c.execute(sqlx::query(&search_path_query)).await?;
|
||||
Ok(())
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue