name all tables to wm_

This commit is contained in:
Motiejus Jakštys
2021-04-06 14:34:00 +03:00
parent 4f8fc74c0c
commit 0abcd16c99
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