Compare commits

..

No commits in common. "dbcd6b3d0fd20c798cbf55e905da4dbe3da1c29b" and "0bf8f8add9a1f29b97daae567b7f97b1ccc9e4a6" have entirely different histories.

1 changed files with 4 additions and 6 deletions

View File

@ -14,7 +14,7 @@
# program. If not, see
# https://git.fjla.uk/OwlBoard/db-manager/src/branch/main/LICENSE
version = "2024.04.1"
version = "2024.3.0"
print(f"main.py: Initialising db-manager v{version}")
#Third Party Imports
@ -39,8 +39,7 @@ while dbReady is False:
dbReady = False
## Run CORPUS Update
## Disabled for migration to timetable-mgr
#status = corpus.runUpdate()
status = corpus.runUpdate()
## Run PIS Update
pis.runUpdate()
@ -49,8 +48,7 @@ pis.runUpdate()
reasonCodes.runUpdate()
## Run Timetable Update
## Disabled for migration to timetable-mgr
#timetable.runUpdate()
timetable.runUpdate()
## Create general indexes
log.out('main.py: Requesting TTL Index Creation', "INFO")
@ -66,7 +64,7 @@ except Exception as e:
mongo.dropCollection("registrations")
mongo.createTtlIndex("registrations", "time", registrations_ttl_seconds)
#log.out(f"Indexes for 'registrations': {list(mongo.listIndexes('registrations'))}")
log.out(f"Indexes for 'registrations': {list(mongo.listIndexes('registrations'))}")
# Push version number to database for reporting
mongo.putVersion(version)