Compare commits

...

2 Commits

Author SHA1 Message Date
Fred Boniface dbcd6b3d0f Bump version 2024-04-27 21:37:56 +01:00
Fred Boniface 546cf02e15 Disable timetable functions for migration to timetable-mgr 2024-04-27 21:37:43 +01:00
1 changed files with 6 additions and 4 deletions

View File

@ -14,7 +14,7 @@
# program. If not, see
# https://git.fjla.uk/OwlBoard/db-manager/src/branch/main/LICENSE
version = "2024.3.0"
version = "2024.04.1"
print(f"main.py: Initialising db-manager v{version}")
#Third Party Imports
@ -39,7 +39,8 @@ while dbReady is False:
dbReady = False
## Run CORPUS Update
status = corpus.runUpdate()
## Disabled for migration to timetable-mgr
#status = corpus.runUpdate()
## Run PIS Update
pis.runUpdate()
@ -48,7 +49,8 @@ pis.runUpdate()
reasonCodes.runUpdate()
## Run Timetable Update
timetable.runUpdate()
## Disabled for migration to timetable-mgr
#timetable.runUpdate()
## Create general indexes
log.out('main.py: Requesting TTL Index Creation', "INFO")
@ -64,7 +66,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)