new directory for sql files

This commit is contained in:
caminsha 2022-07-15 22:21:21 +02:00
parent 655dbea39b
commit c748758b9e
4 changed files with 3 additions and 3 deletions

View file

@ -1,9 +1,9 @@
#!/bin/bash
if [[ $1 -eq "0" ]]; then
sqlite3 test.db ".read create_db.sql"
sqlite3 test.db ".read sql/create_db.sql"
elif [[ $1 -eq "1" ]]; then
sqlite3 test.db ".read insert_data.sql"
sqlite3 test.db ".read sql/insert_data.sql"
elif [[ $1 -eq "9" ]]; then
sqlite3 test.db ".read show_all.sql"
sqlite3 test.db ".read sql/show_all.sql"
fi