We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c7ad6e8 commit d31b509Copy full SHA for d31b509
tests/views/cleanup_viewtest.sh
@@ -1,7 +1,7 @@
1
#!/bin/bash
2
3
DATABASE_URL="postgresql://localhost/django_postgres_viewtest"
4
-rm -Rf view_project_test/
+rm -Rf test__views/
5
DROP_CMD=$(psql -P format=unaligned -P tuples_only -d "$DATABASE_URL" -c "select 'DROP TABLE \"' || array_to_string(array_agg(tablename), '\", \"') || '\" CASCADE;' from pg_tables where schemaname = 'public';")
6
echo "$DROP_CMD"
7
psql -d "$DATABASE_URL" -c "$DROP_CMD"
0 commit comments