bootstrapping sql werks
This commit is contained in:
parent
50ad0a7656
commit
1702b7de63
5
bootstrap/bootstrap.sh
Normal file → Executable file
5
bootstrap/bootstrap.sh
Normal file → Executable file
@ -1,2 +1,5 @@
|
|||||||
#!/bin/sh
|
#!/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
3
bootstrap/bootstrap.sql
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
.read init.sql
|
||||||
|
.read defaults.sql
|
||||||
|
.read project_list.sql
|
Reference in New Issue
Block a user