hackerspace-ntnu/website-next

chore: Add warnings if database is in an illegal state in terms of relations

Open

#165 opened on Sep 28, 2025

View on GitHub
 (0 comments) (0 reactions) (0 assignees)TypeScript (1 fork)auto 404
good first issue

Repository metrics

Stars
 (9 stars)
PR merge metrics
 (PR metrics pending)

Description

If a row in a table is supposed to have two translations, one for Norwegian and one for English, we should add warnings that get printed to the console to inform of an illegal state in the database. The code won't be affected, as we will just get the first translation the database returns. However, it is still useful to go and fix manually, if this ever happens.

Contributor guide