Create populate.sqlite3 to simplify README

To make my life easier, I created a small sqlite3 script to populate our
database.
This commit is contained in:
William Carroll 2020-07-28 18:42:07 +01:00
parent 36a2fea686
commit 191205acac
3 changed files with 15 additions and 24 deletions

7
populate.sqlite3 Normal file
View file

@ -0,0 +1,7 @@
PRAGMA foreign_keys = on;
.read src/init.sql
.mode csv
.import data/accounts.csv Accounts
.import data/trips.csv Trips
.mode column
.headers on