drop table
This commit is contained in:
parent
58eb7bea87
commit
1bb83ec05d
2
Makefile
2
Makefile
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user