NIAEFEUP / tts-be

A platform where students can experiment with the possible combination of schedule options they can pick at the start of the semester
https://tts.niaefeup.pt
5 stars 1 forks source link

Structure for checking if data is up to date #71

Closed diogotvf7 closed 7 months ago

diogotvf7 commented 7 months ago

What to do?

This issue was created on Scrapper so that a new info table was created:

CREATE TABLE `info` (
  `date` DATETIME PRIMARY KEY
);

This table will save the datetime when the scrapper was run so that everytime someone enters TTS, there will run a check that verifies whether the user's data is or not outdated. For this, the back-end must be able to support this new table and a new endpoint must be created.