diff options
author | Zach Berwaldt <zberwaldt@tutamail.com> | 2024-03-16 10:48:52 -0400 |
---|---|---|
committer | Zach Berwaldt <zberwaldt@tutamail.com> | 2024-03-16 11:25:29 -0400 |
commit | b32419dfe996fbc9731b48ba528bae67535f4839 (patch) | |
tree | 9704a77e53968fe1c6094fa8eb9714b59ed59b8d /db/scripts/init.sh | |
parent | fe8f79b7afc10040d653b5d7f7016dc93df1eebd (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 | |||