Bladeren bron

bootstrapping sql werks

pull/3/head
anon 10 maanden geleden
bovenliggende
commit
1702b7de63
2 gewijzigde bestanden met toevoegingen van 7 en 1 verwijderingen
  1. +4
    -1
      bootstrap/bootstrap.sh
  2. +3
    -0
      bootstrap/bootstrap.sql

+ 4
- 1
bootstrap/bootstrap.sh Bestand weergeven

@@ -1,2 +1,5 @@
#!/bin/sh
sqlite3 probotic_data.sqlite -init init.sql -line '.quit'
DBFILE=probotic_data.sqlite

rm "$DBFILE"
sqlite3 "$DBFILE" -init bootstrap.sql -line '.quit'

+ 3
- 0
bootstrap/bootstrap.sql Bestand weergeven

@@ -0,0 +1,3 @@
.read init.sql
.read defaults.sql
.read project_list.sql