Utils in make and pruning database
This commit is contained in:
parent
db20aa2f53
commit
77acf8069e
3 changed files with 6 additions and 0 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -7,3 +7,5 @@ tomcat.5000
|
|||
*.iml
|
||||
|
||||
.DS_Store
|
||||
|
||||
*.db3
|
||||
|
|
4
Makefile
4
Makefile
|
@ -15,5 +15,9 @@ $(DB_NAME): $(SQL_SCRIPT)
|
|||
clean:
|
||||
rm -f $(DB_NAME)
|
||||
|
||||
dumptables:
|
||||
sqlite3 $(DB_NAME) "SELECT * FROM Respondents;"
|
||||
sqlite3 $(DB_NAME) "SELECT * FROM Answers;"
|
||||
|
||||
# Phony targets
|
||||
.PHONY: all init_db clean
|
||||
|
|
BIN
lab.db3
BIN
lab.db3
Binary file not shown.
Loading…
Reference in a new issue