From 66c14883c07f181027e1f0773e0b8a98e3bb1daa Mon Sep 17 00:00:00 2001 From: Otto Ahoniemi Date: Wed, 8 Dec 2021 23:12:32 +0200 Subject: [PATCH] Add note about tests failing if anon db hasn't been updated manually --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 125c70b9e..0be4dc3ec 100644 --- a/README.md +++ b/README.md @@ -130,6 +130,10 @@ You should always install the dependencies **inside** the container to have the Make sure you have your VPN on +### I made a change to sis-db models aand created a migration, but tests are failing in CI! + +Migrations are handled by sis-importer-worker, since oodikone is using only replica. Since CI is testing only services included in oodikone, your new changes aren't migrated and thus are failing. Head to [anonyymioodi repository](https://github.com/UniversityOfHelsinkiCS/anonyymioodi) to find more about how to to update the anon sis-db. + ### Everything is broken, can't get oodikone running, data is not there etc. Just do clean install by launching cli with `npm cli` and running option 1: _Set up oodikone from scratch_.