ProgrammingError: more than one row returned by a subquery used as an expression

Thalia Technicie
2020-03-01T16:38:36+01:00

Sentry Issue: [CONCREXIT-27](https://sentry.io/organizations/thalia/issues/1540717591/?referrer=gitlab_integration) ``` CardinalityViolation: more than one row returned by a subquery used as an expression File "django/db/backends/uti...

Sentry Issue: CONCREXIT-27

CardinalityViolation: more than one row returned by a subquery used as an expression

  File "django/db/backends/utils.py", line 86, in _execute
    return self.cursor.execute(sql, params)

ProgrammingError: more than one row returned by a subquery used as an expression

(11 additional frame(s) were not displayed)
...
  File "django/db/backends/utils.py", line 68, in execute
    return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)
  File "django/db/backends/utils.py", line 77, in _execute_with_wrappers
    return executor(sql, params, many, context)
  File "django/db/backends/utils.py", line 86, in _execute
    return self.cursor.execute(sql, params)
  File "django/db/utils.py", line 90, in __exit__
    raise dj_exc_value.with_traceback(traceback) from exc_value
  File "django/db/backends/utils.py", line 86, in _execute
    return self.cursor.execute(sql, params)