diff options
author | Philip Sargent <philip.sargent@gmail.com> | 2025-01-21 17:58:46 +0000 |
---|---|---|
committer | Philip Sargent <philip.sargent@gmail.com> | 2025-01-21 17:58:46 +0000 |
commit | 157f1fcf273f472515e9c66c1f2b18c4d61a0d79 (patch) | |
tree | fecd1c221c800ff95ce106463009c1be5c775e6d /databaseReset.py | |
parent | bb66c0949884a4a78fd19288ba1d24330f69812e (diff) | |
download | troggle-157f1fcf273f472515e9c66c1f2b18c4d61a0d79.tar.gz troggle-157f1fcf273f472515e9c66c1f2b18c4d61a0d79.tar.bz2 troggle-157f1fcf273f472515e9c66c1f2b18c4d61a0d79.zip |
add 'users' phase into database re-import
Diffstat (limited to 'databaseReset.py')
-rw-r--r-- | databaseReset.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/databaseReset.py b/databaseReset.py index b7e4da5..ea68312 100644 --- a/databaseReset.py +++ b/databaseReset.py @@ -427,7 +427,7 @@ def usage(): init - initialisation. Automatic if you run reset. caves - read in the caves (must run first after initialisation) people - read in the people from folk.csv (must run after 'caves') - users - read in registered troggle users from file (emails encrypted) + users - read in registered troggle users from file (email addresses encrypted) logbooks - read in the logbooks QMs - read in the QM csv files (older caves only) scans - the survey scans in all the wallets (must run before survex) @@ -502,6 +502,7 @@ if __name__ == "__main__": elif "reset" in sys.argv: jq.enq("reinit", reinit_db) jq.enq("caves", import_caves) + jq.enq("users", import_users) jq.enq("people", import_people) jq.enq("scans", import_surveyscans) jq.enq("logbooks", import_logbooks) |