diff options
author | Zach Berwaldt <zberwaldt@tutamail.com> | 2024-03-16 10:48:52 -0400 |
---|---|---|
committer | Zach Berwaldt <zberwaldt@tutamail.com> | 2024-03-16 10:48:58 -0400 |
commit | 968481312058aa58261d41cf3460b45109fec240 (patch) | |
tree | 9704a77e53968fe1c6094fa8eb9714b59ed59b8d /db/scripts/init.sh | |
parent | 947bbd510ea104d3a631b3200da9ed239cfd6e80 (diff) |
clean up database scripts, start readmes.
Diffstat (limited to 'db/scripts/init.sh')
-rw-r--r-- | db/scripts/init.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/db/scripts/init.sh b/db/scripts/init.sh new file mode 100644 index 0000000..e55292b --- /dev/null +++ b/db/scripts/init.sh | |||
@@ -0,0 +1,9 @@ | |||
1 | sqlite3 $DB_PATH < ../sql/tables.sql | ||
2 | |||
3 | insert_user() { | ||
4 | read -p "Enter a username: " username | ||
5 | read -sp | ||
6 | } | ||
7 | |||
8 | echo "Before continuing you must create users. The reset of the schema depends on them" | ||
9 | |||