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:
parent
36a2fea686
commit
191205acac
3 changed files with 15 additions and 24 deletions
7
populate.sqlite3
Normal file
7
populate.sqlite3
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue