Utils in make and pruning database

This commit is contained in:
Imbus 2024-02-14 19:09:00 +01:00
parent db20aa2f53
commit 77acf8069e
3 changed files with 6 additions and 0 deletions

2
.gitignore vendored
View file

@ -7,3 +7,5 @@ tomcat.5000
*.iml *.iml
.DS_Store .DS_Store
*.db3

View file

@ -15,5 +15,9 @@ $(DB_NAME): $(SQL_SCRIPT)
clean: clean:
rm -f $(DB_NAME) rm -f $(DB_NAME)
dumptables:
sqlite3 $(DB_NAME) "SELECT * FROM Respondents;"
sqlite3 $(DB_NAME) "SELECT * FROM Answers;"
# Phony targets # Phony targets
.PHONY: all init_db clean .PHONY: all init_db clean

BIN
lab.db3

Binary file not shown.