removing database remove functionality
This commit is contained in:
@@ -28,10 +28,3 @@ pub async fn setup_test_db() -> PgPool {
|
|||||||
|
|
||||||
pool
|
pool
|
||||||
}
|
}
|
||||||
|
|
||||||
pub async fn clear_adresar_table(pool: &PgPool) {
|
|
||||||
sqlx::query("TRUNCATE adresar RESTART IDENTITY CASCADE")
|
|
||||||
.execute(pool)
|
|
||||||
.await
|
|
||||||
.expect("Failed to clear adresar table");
|
|
||||||
}
|
|
||||||
|
|||||||
Reference in New Issue
Block a user