fix: clickhouse migrations should not run normally

This commit is contained in:
Michael H.
2026-07-30 19:23:10 +02:00
parent 0a53211389
commit 572b8027ff
4 changed files with 34 additions and 23 deletions
+1
View File
@@ -37,6 +37,7 @@ pub async fn setup(db: &database::TemporaryDatabase) -> LabrinthConfig {
let search_backend = db.search_backend.clone();
let file_host: Arc<dyn FileHost> = Arc::new(file_hosting::MockHost::new());
let file_host = web::Data::<dyn FileHost>::from(file_host);
clickhouse::run_migrations().await.unwrap();
let mut clickhouse = clickhouse::init_client().await.unwrap();
let stripe_client = stripe::Client::new(ENV.STRIPE_API_KEY.clone());