This commit is contained in:
rahulpinto19
2026-01-08 06:33:14 +00:00
parent fd4250d0db
commit edf8377c57

View File

@@ -967,7 +967,7 @@ func CleanupPostgresTables(t *testing.T, ctx context.Context, pool *pgxpool.Pool
// t.Fatalf("Failed to drop all tables in 'public' schema: %v", err)
// }
fmt.println("drop schema started --------------")
// 1. Drop the entire public schema (this kills tables, views, types, etc.)
dropSchema := "DROP SCHEMA public CASCADE;"
// 2. Recreate the empty public schema