Add note about tests failing if anon db hasn't been updated manually

This commit is contained in:
Otto Ahoniemi
2021-12-08 23:12:39 +02:00
parent 657b6f6b64
commit 66c14883c0
+4
View File
@@ -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_.