drop table

This commit is contained in:
Motiejus Jakštys 2021-04-17 17:09:40 +03:00
parent e41e1dfed7
commit 12bc65ee76

View File

@ -169,7 +169,7 @@ clean: ## Clean the current working directory
.PHONY: clean-tables .PHONY: clean-tables
clean-tables: ## Remove tables created during unit or integration tests clean-tables: ## Remove tables created during unit or integration tests
./db -c '\dt' | awk '/\ywm_\w+\y/{print "drop table "$$3";"}' | ./db -f - ./db -c '\dt wm_*' | awk '/_/{print "drop table "$$3";"}' | ./db -f -
-rm .faux_db -rm .faux_db
.PHONY: help .PHONY: help