From 1bb83ec05d81a4e551c646de7787ab25684b2189 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Wed, 19 May 2021 22:57:48 +0300 Subject: [PATCH] drop table --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 4e39f93..29cc4d9 100644 --- a/Makefile +++ b/Makefile @@ -169,7 +169,7 @@ clean: ## Clean the current working directory .PHONY: clean-tables 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 .PHONY: help