TetaTricks/code/sqlite/create-and-fill.sh

13 lines
164 B
Bash
Raw Normal View History

2022-12-16 20:41:32 +01:00
#!/bin/bash
DBFILE='example.sqlite'
rm -v $DBFILE
sqlite3 $DBFILE < create-table.sql
echo 'table created'
sqlite3 $DBFILE < insert-birds.sql
echo 'bird added'