fix database creation bug

This commit is contained in:
ksyasuda 2022-01-03 00:21:10 -08:00
parent ed9288adfb
commit ff4ee0a5f8

View File

@ -46,8 +46,8 @@ run_setup() {
if [[ ! -f "$DIR/$DB" ]]; then
# Create the DB if not exists
log "Creating history database..."
sqlite3 "$DIR/$DB" sql/watch_history_tbl.sql
sqlite3 "$DIR/$DB" sql/search_history_tbl.sql
sqlite3 "$DIR/$DB" < sql/watch_history_tbl.sql
sqlite3 "$DIR/$DB" < sql/search_history_tbl.sql
log "History database created..."
fi