TetaTricks/code/sqlite/create-and-fill.sh
2022-12-16 20:41:32 +01:00

13 lines
164 B
Bash
Executable File

#!/bin/bash
DBFILE='example.sqlite'
rm -v $DBFILE
sqlite3 $DBFILE < create-table.sql
echo 'table created'
sqlite3 $DBFILE < insert-birds.sql
echo 'bird added'