Compare commits

...

2 Commits

Author SHA1 Message Date
2e063532a9 Merge branch 'master' of https://git.lain.church/emil/probotic 2023-08-04 13:31:03 +02:00
1702b7de63 bootstrapping sql werks 2023-08-04 13:29:23 +02:00
2 changed files with 7 additions and 1 deletions

5
bootstrap/bootstrap.sh Normal file → Executable file
View File

@ -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
bootstrap/bootstrap.sql Normal file
View File

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