name all tables to wm_

This commit is contained in:
2021-05-19 22:57:47 +03:00
committed by Motiejus Jakštys
parent d3c1d03a1d
commit 77850b352b
3 changed files with 33 additions and 33 deletions

View File

@@ -22,7 +22,7 @@ clean:
.PHONY: clean-tables
clean-tables:
for t in $$(./db -c '\dt' | awk '/\y(demo_wm|debug_wm|figures)\y/{print $$3}'); do \
for t in $$(./db -c '\dt' | awk '/\ywm_\w+\y/{print $$3}'); do \
./db -c "drop table $$t"; \
done
-rm .faux_test