Skip to content

Commit

Permalink
Add a comment about fkce
Browse files Browse the repository at this point in the history
  • Loading branch information
Veikkosuhonen committed Apr 23, 2024
1 parent 9b8d3b5 commit d962adb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/updater/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ const JOB_TYPE = 'NIGHTLY'

const runUpdater = async () => {
// Dependencies between updating, may result in failure if order not kept
await updateUsers()
await updateUsers()
// Note: if importer updates data after updateUsers but before updateStudentFeedbackTargets, you may get a foreign key constraint error.
// Its not a huge problem, just run the updater again or wait for the next cron.
await updateOrganisations()
await updateCoursesAndTeacherFeedbackTargets()
await updateStudentFeedbackTargets()
Expand Down

0 comments on commit d962adb

Please sign in to comment.