From d08e62b7fa779e5576181bea04c488c889b543ca Mon Sep 17 00:00:00 2001 From: aumetra Date: Sun, 21 Jan 2024 10:20:37 +0100 Subject: [PATCH] delete kitsune schema to clean up --- crates/kitsune-test/src/lib.rs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/crates/kitsune-test/src/lib.rs b/crates/kitsune-test/src/lib.rs index 9460ea3d0..5ffbbf5ca 100644 --- a/crates/kitsune-test/src/lib.rs +++ b/crates/kitsune-test/src/lib.rs @@ -44,7 +44,12 @@ where diesel::sql_query("DROP SCHEMA public CASCADE") .execute(db_conn) .await - .expect("Failed to delete schema"); + .expect("Failed to delete \"public\" schema"); + + diesel::sql_query("DROP SCHEMA kitsune CASCADE") + .execute(db_conn) + .await + .expect("Failed to delete \"kitsune\" schema"); diesel::sql_query("CREATE SCHEMA public") .execute(db_conn)