From bddcefb5d69d607dab4010b7f3050b276a8d3198 Mon Sep 17 00:00:00 2001
From: Mike Lake <Mike.Lake@uts.edu.au>
Date: Mon, 25 Oct 2021 16:55:20 +1100
Subject: [PATCH] Added schema for db.

---
 README.md | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/README.md b/README.md
index e68592b..e65d63e 100644
--- a/README.md
+++ b/README.md
@@ -1,3 +1,11 @@
 # hpc_utilisation
 
-Python program to check the utilisation of HPC jobs using the PBS schedular.
\ No newline at end of file
+Python program to check the utilisation of HPC jobs using the PBS schedular.
+
+In the Python code the `users_db_name` is a small sqlite database that just contains user information.
+The schema is:
+
+    $ echo '.schema' | sqlite3 users_ldap_public.db
+    CREATE TABLE IF NOT EXISTS "users" ( 'id' INTEGER NOT NULL, 'uts_id' TEXT NOT NULL, 'uts_email' TEXT, 'name' TEXT, PRIMARY KEY('id'));
+
+
-- 
GitLab