Skip to content

Commit

Permalink
delete kitsune schema to clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
aumetra committed Jan 21, 2024
1 parent f80cede commit 2e2b5b1
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions crates/kitsune-test/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,17 @@ 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)
.await
.expect("Failed to create schema");
.expect("Failed to create \"public\" schema");

Ok::<_, BoxError>(())
}
Expand Down

0 comments on commit 2e2b5b1

Please sign in to comment.